I have the below code:
<ion-item>
<ion-label floating>cdnum</ion-label>
<ion-input type="number" [(ngModel)]="value"></ion-input>
</ion-item>
when I type multiple dash like ‘-----’ or other invalid formats like ‘1-1’ or ‘1.-3’, value is getting empty string but the typed characters still remain in the view.
For example, after typing ‘----------------’, the binding value is actually empty but the UI looks like this:
Is it a bug? How can solve it?
I test in ionic 3.9.2.