Toggle password visibility feature #696
Closed
sheriffderek
started this conversation in
Ideas
Replies: 2 comments
|
We actually cover this in the Icons documentation as one of the examples. You can find a functioning demo here: Binding the behavior across inputs would be as simple as setting the |
0 replies
|
Excellent. Very cool. For some reason, I assumed those icons were just going to be static. But as it so often happens... I'm reminded that we can make pretty much anything happen. Thank you! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm curious if there are any paths in FormKit for password visibility toggles.
There's already a spot in the markup where the appended icons can go, but I don't see any discussion about it. Here's a quick CodePen: https://codepen.io/perpetual-education/pen/poxpObG
If there's not already one that I'm not seeing, then I'd like to request this. : )
I'd also like the added bonus of connecting a password and a password confirmation field so that the toggle is optionally toggled on both fields (when noted as connected).
I'll also look into the "Create your own field" story.
🔓
All reactions