Closed bressanelle closed 2 years ago
Did you add NgxCurrencyModule
to your Angular module imports?
same problem here using V12, and I already import the CurrencyModule
Hello. I suggest you check the following example that uses the library with reactive forms and template driven as well.
https://github.com/cesarrew/ng2-currency-mask/tree/master/projects/library-test.
Another option: https://stackblitz.com/edit/angular-ivy-bpn8by
1.
2.
3. <input matInput [(ngModel)]="value" (keyup)="parcelIonChange($event)" currencyMask [options]="{ prefix: '', thousands: '.', decimal: ',' }">
I just follow the steps that 'cesarrew' ( the guy above ) post
just following documentation (not globally example)