-
Notifications
You must be signed in to change notification settings - Fork 19
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
Feature request: "Eye" icon in password text fields #4
Comments
There is no such built-in functionality in RAP, but it's not so hard to achieve it with client scripting. Create filed and icon in RWT. Attach client listener to the icon and change the field type from "password" to "text" and back. More information about scripting here [1]. [1] https://www.eclipse.org/rap/developers-guide/devguide.php?topic=scripting.html&version=3.20 |
The Nebula project has such a widget: https://wiki.eclipse.org/Nebula_PasswordRevealer |
The main idea here is to use |
OK, thank you for the information. I'll give it a try when I have the time for it. |
There is a working implementation (Nebula widget) and also a simple "hand made" solution for this request. I'll close this issue as WONTFIX. |
The Nebula widget doesn't work, because it's for SWT, not for RWT. But I managed to implement the eye icon with RWT and some CSS. |
In many web applications it is possible to unveil the password entered into a password text field by an "eye" icon on the right side:
RAP is still missing this functionality. It would be nice, if in the future, RAP would support such an "eye" icon as well.
The text was updated successfully, but these errors were encountered: