Replace ion-input clearInput with validation?


#1

In my app, I have a password and a confirm password input field. I want to run validation on the two fields and have them display a check mark when they match. I can tweak the clearIcon, but that doesn’t feel right and I don’t know if I can change what happens when it’s clicked (would be bad to clear the input if someone accidentally clicks a check mark).

Is there any way to create a custom icon at the end of a field? Anything I put within the gets hidden (over-ridden?) by what Ionic generates.