Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow show/hide functionality for passwords in ui.textbox() #1977

Closed
n-srinidhi opened this issue May 16, 2023 · 1 comment · Fixed by #2198
Closed

Allow show/hide functionality for passwords in ui.textbox() #1977

n-srinidhi opened this issue May 16, 2023 · 1 comment · Fixed by #2198
Assignees
Labels
feature Feature request ui Related to UI

Comments

@n-srinidhi
Copy link

n-srinidhi commented May 16, 2023

Is your feature request related to a problem? Please describe

While building Login Forms using h2o.ai Wave, There is a password property in ui.textbox(). However, unlike login forms on web apps on the internet, there is no option to make the icon of the field clickable in order to toggle between the show text and hide text option for the password field.

Describe the solution you'd like

It would be nice to have an inbuilt functionality to show/hide the text being typed in password style textboxes. Or atleast make the icons within a textbox clickable so we it can be implemented through code.

Describe alternatives you've considered

A simple workaround right now is to add a button alongside the textbox to toggle between showing and hiding the typed text. However, it isn't very flattering from a UX perspective, as the button is selected on hover and the boundaries of the textbox is also visible.

@n-srinidhi n-srinidhi added the feature Feature request label May 16, 2023
@mturoci mturoci added the ui Related to UI label May 19, 2023
@i-m-karanagarwal
Copy link
Contributor

I would like to work on this issue.
Please assign it to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request ui Related to UI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants