I would like to know which is the best approach to get a formated ion-input with ngModel. I want something like this:
<ion-input [(ngModel)]="quantity | percentage"></ion-input>
Of course it does not work, but I think it shows what I want: the user see, e.g 10%, and if he writes 5 the ngModel bind to quantity the value 0.05.
And same happens with currency or other pipes… what is the best approach for it?