Ionic Show/Hide Password
Use this Custom component to display or hide a password input
Ionic Show / Hide password component
You can find this component in src/app/components/show-hide-password
By wrapping an <ion-input>
element with this component, you can enhance the UX and add a show/hide password functionality.
<app-show-hide-password>
<ion-input type="password" placeholder="Try setting a password" value="It's a secret!"></ion-input>
</app-show-hide-password>
I wrote a specific post explaining how to use this component in any Ionic Angular app.
Last updated
Was this helpful?