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

Add hide/unhide functionality to <Input/> component for password fields #1139

Closed
gzuuus opened this issue Jun 14, 2024 · 3 comments
Closed
Labels
type: feature Introduction of new functionality to the application

Comments

@gzuuus
Copy link

gzuuus commented Jun 14, 2024

Describe the feature

I'm requesting a new feature to be added to the <Input/> component to allow users to hide/unhide password fields. This would enable users to mask or unmask the passwords for inputs with type="password". It would be beneficial to provide an option to toggle the visibility of the password. This is a common feature in many password input fields, allowing users to verify their password entry without compromising security.

Thanks before hand!

@gzuuus gzuuus added the type: feature Introduction of new functionality to the application label Jun 14, 2024
@seb-goodman
Copy link

Have you come across this bits-ui example, to use in the meantime?

@gzuuus
Copy link
Author

gzuuus commented Jun 16, 2024

Didn't saw it, thanks!

@huntabyte
Copy link
Owner

The problem with this is that it conflicts with some browsers that add this feature by default

@huntabyte huntabyte closed this as not planned Won't fix, can't repro, duplicate, stale Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

3 participants