Search code examples
primefacespasswordstogglemicrosoft-edge

PrimeFaces password toggleMask: two togglers for Edge browser


PrimeFaces password toggleMask: two togglers for Edge browser.

https://www.primefaces.org/showcase/ui/input/password.xhtml

Reproducer:

  1. clear the password for toggle mask.
  2. enter any password, an additional toggler will show.

Version: 12.0.0.


Solution

  • Issue opened: https://github.com/primefaces/primefaces/issues/9880

    Fixed in 13.0.0: https://github.com/primefaces/primefaces/pull/9881

    If you need the fix right now just add this CSS to your page:

    .ui-password > input::-ms-reveal,
    .ui-password > input::-ms-clear {
        display: none;
    }