cesarrew / ng2-currency-mask

A very simple currency mask directive that allows using a number attribute with the ngModel.
MIT License
235 stars 116 forks source link

mask doesn't work when inside ReactiveForms formArray #152

Closed felipesantos1504 closed 2 years ago

felipesantos1504 commented 3 years ago

The title explains all, above have a stackblitz with the issue.

cesarrew commented 2 years ago

Hello. The following example uses the library with reactive forms and formArray.

https://github.com/cesarrew/ng2-currency-mask/tree/master/projects/library-test

cesarrew commented 2 years ago

Another option: https://stackblitz.com/edit/angular-ivy-bpn8by