Reveal icon is clickable even if JPasswordField is disabled
See original GitHub issueEven if JPasswordField
is disabled, it’s possible to click on reveal icon and show/hide typed password.
FlatLaF v2.0.2
Issue Analytics
- State:
- Created 2 years ago
- Comments:6
Top Results From Across the Web
Password Reveal Button Not Disabled with Password Field
But, it visually looks a bit weird when the field is disabled and it may not be desirable behavior in all cases for...
Read more >Is there a way to make a JButton disabled until the user puts in ...
Yes of course you can disable or enable JButtons via their setEnabled(enabled) method. The logic of when or how this gets called will...
Read more >How To Enable Or Disable Reveal Password Button In ...
On the Settings page, click Passwords. There, you will see a slider in front of “Show the “Reveal Password” button in the password...
Read more >Enable or Disable Password Reveal Button in Windows, IE
The show password button replaces the asterisks in password field with actual characters. Looking for methods to disable the ' Show Password' ...
Read more >How can we show/hide the echo character of a ...
By default, JPasswordField can show the echo characters. We can hide the echo characters and show the original text to the use by...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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 😉
Thank you!