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.
1
<app-show-hide-password>
2
<ion-input type="password" placeholder="Try setting a password" value="It's a secret!"></ion-input>
3
</app-show-hide-password>
Copied!
I wrote a specific post explaining how to use this component in any Ionic Angular app.
ionic angular show hide password
See the live Showcase to learn how to use and customize this component.
Copy link