Hi, I have this weird problem. I have a ion-input defined like this:
<ion-input id="songNoId" type="number" clearInput="true" max="999" min = "0" step="1" (ionFocus)="checkFocus($event)" (change)="numberChanged()" (input)="checkInput($event)" [(ngModel)]="myBumber"></ion-input>
As you can see, numberChanged() is supposed to be called, when the value changes. Well, it is. But if I clear the input by clicking the clearInput button (the cross icon on the right side of the input), this function is not called.
This is very weird mostly because I am just not able to google anything on the topic, whereas I would expect there to be a lot of questions on such a basic thing.
What am I doing wrong?
Thanks!
4 posts - 2 participants