To match existing BlackBerry 10 UI, it would be great if password input types could have a show password "eye" icon that can be clicked to view the password in plain text.
This is a BB10 feature that would be added.. essentially there is a little "eye" on a password field. Essentially what would happen is that if a password field was detected it would draw the eye in the right side of the control. Much like we draw the "X" now to clear text.
When the user pressed the toggle of the "eye" we would change the input type between password and plain text
Somewhat related to this is to have the X that clears text boxes be consistent with the BB10 look and feel (it should look like an X with a circle around it now). Let me know if you want me to open a separate issue for this for tracking. :)
Yes, please open up a separate issue for the (x)
Opened: #526 for the clear text box icon update.
I'm working on this. Would love to mark it as "In Progress" 🔧
I'm using a screenshots from the device. @tneil do you have the original assets for the password "eye" button? My screenshot-carved assets lack transparency.
Still working through with our IP department about adding this functionality and image asset to the toolkit
Here's what it looks like:
I've embedded the images for the two states as data: URI's in bbui.css, since I noticed other images in the stylesheet are embedded similarly (for performance reasons, I assume?). I'll do a pull request in a minute.
hi all, I would like to give toggle icon for my htmll5 page password field. Please guide me how to use this feature in my input filed and let me know what code i need to download for my BB10 workspace.
Thanks in advance.