With pipes like
<input....
[ngModel]="whatever | myCurrencyPipe"
(ngModelChange)="whatever = $event"
type="text"
name="myCurreny"
...
you can format an existing value. Scarcely you want to overwrite the value, you have problems. And with the solution above, the double binding has been abrogated.
There are plenty of jQuery-Libraries but I am looking for native angular2 solutions.
Can someone help me?
Working example you can find here: http://stacktrase.com/2017/07/14/angularjs4-restrict-input-text-by-extending-ngmodel/