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
Reveal icon is clickable even if JPasswordField is disabled #501
Comments
And why is this a problem? |
Even if the content cannot be modified but if a component is disabled then all what is inside it should be disabled. If I show both clear and reveal icons on a password field then disable it, the clear icon disappears while reveal icon remains working. I don't know if my point is valid ;) |
yeah seems kinda weird being able to click it when disabled, since the reveal button is inside the disabled component it should be disabled too imho. maybe u could start a poll on this :) |
Hello, I also faced the same problem. For example, an application that can store multiple accounts, it would be nice if the user could not see the password if field is disabled. |
Thanks for all your feedback. I've changed it in latest Now the reveal button is hidden if the password field is disabled. |
Thank you! |
Even if
JPasswordField
is disabled, it's possible to click on reveal icon and show/hide typed password.FlatLaF v2.0.2
The text was updated successfully, but these errors were encountered: