We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be very helpful if I could define through a boolean props the initial state of the show/hide button. (hidden by default)
Thanks!
The text was updated successfully, but these errors were encountered:
It's only a matter of setting the "passwordShown" initial state from a prop instead of hardcoding to false:
https://github.com/zakangelle/react-password-mask/blob/8b338ac5aecdb457993cd0c1f842195fd0185e00/src/index.js#L49-L52
Sorry, something went wrong.
I'd be willing to work on that if you think it's a good idea. Cheers!
Maybe you can fork this repo and try to add those feature you have in mind, and create a PR for it.
No branches or pull requests
It would be very helpful if I could define through a boolean props the initial state of the show/hide button. (hidden by default)
Thanks!
The text was updated successfully, but these errors were encountered: