Is it possible to make passwordField show text instead of dots
Hi,
Unfortunately, PasswordField
doesn’t provide the toggle password visibility functionality. I can suggest three possible solutions:
- Using
TextField
instead ofPasswordField
- Creating a custom composite component that contains a field and a button to toggle password visibility and by clicking a button replacing field implementation from
PasswordField
toTextField
and wise versa. - Implementing an extension that will toggle HTML
<input>
elementtype
betweenpassword
andtext
.
Regards,
Gleb
Hello,
I’m also in need to do this implementation now.
Has any ready-to-use solution come to live meanwhile?
Thanks in advance,
regards, HP
We have no plans to implement such functionality for Jmix 1x, instead Jmix 2x has it, see PasswordField demo.
Regards,
Gleb
Thanks,
I just read, that Vaadin 23 (jmix 1.5.x?) supports PasswordReveal functionality.
Can we set these Vaadin properties easily, even without Jmix wrapping?
Vaadin 23+ is used in Jmix 2.1+