Password or password and search component #3585
Replies: 1 comment
-
This comes with some problems. We want to stay as close to HTML as possible, and doing this potentially means the consumer would need to do a lot of configuring.
This is not the case for everyone. On windows in chrome, nothings shows up.
That said, I believe it is uncommon for a password input to have a clear button.
The problems you mention with Figma is not an issue in code, since we have a standalone To implement this, you make a button that toggle |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Password-component (or combined search and password in one component, rename to communicate function and not use?
Password field need clear show/hide functionality, preferably using a button similar to what we now have used for Search-component. The search-component is a bit too specific and may result in designers not thinking of using it for password. To change text-field component in Figma, you may need to detach the instance to set up the functionality.
Text-field set to type="password" will show an clickable icon, this icon is hidden when long passwords and may only show on mouseover, not very accessible. "button" would be better.
gov.uk links about password-component:
Beta Was this translation helpful? Give feedback.
All reactions