thelebdev / ng2-currency-mask

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

Ion-input and Reactive Form #13

Open guillep2k opened 5 years ago

guillep2k commented 5 years ago

Migrated from original project (https://github.com/cesarrew/ng2-currency-mask/issues/113)

Orignal request by @renato-aguena

That plugin doesn't work with ion-input and reactive form??? This is my input code.

<ion-input type="text" currencyMask formControlName="monthly_fee"></ion-input>

This is the error:

ERROR TypeError: Cannot read property 'length' of undefined