xpagesxpages-ssjs

Password view icon disappears in password editbox


I have a password editbox in XPage. When typing chars in the control, the 'Password view icon' shows up the right edge of the control.

However, if the input focus is moved to another control and back to the password control again, the 'Password view icon' never shows up.

Is this a bug? Is there any workaround? If no workaround, is there a way to hide the "Password view icon" in any case?


Solution

  • This is normal behaviour in password textboxes. To remove the eye completely, add this css to your page:

    input::-ms-reveal { 
         display: none;
    }