I need a thousand separator input mask directive or else with Ionic 3 app. I have tried 2 directives. But none of them were working. Do you know working directive for that?
[ngModel]="data?.budget", formControlName="budget",
and (ngModelChange)="data.budget=$event" are 3 different ways of binding to data, and having 3 is not only overkill but as @rapropos alluded to are likely to step on the other’s toes.
I need it since easy data validation (i.e. formControlName="budget". I can do it within ts file) and I need to use 2-way data binding also due to a complexity of the input validation. This is my actual code for the event change (ngModelChange)="data.budget=$event;calculateContingency()". If you know how to do all those using reactive form method it would be great to know about it too. Thanks.