ToggleMask in primeNg password not working

  angular, passwords, primeng

I try to use passwordModule in my code, which is working fine then I tried to add toggle mask

<input id="float-password"
               type="password"
               [toggleMask]="true"
               pPassword />

it gives me the following error

Can't bind to 'toggleMask' since it isn't a known property of 'input'.

I have tried to find the reason and fix, but unfortunately I’m not getting it.

Source: Angular Questions

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.