Open guillep2k opened 5 years ago
There's an issue in the original project about this problem, and there are instructions to deal with it. They could be implemented in this fork.
Migrated from original project (https://github.com/cesarrew/ng2-currency-mask/issues/103)
Orignal request by @ErickXavier, @michellehorn
Is it possible to have an option so the model has no special Characters?
Something like: [dropSpecialCharacters]="true"
Example: when you see R$ 199.999,10 the model itself is 19999910.
Response from @ErickXavier
I added the support, just waiting on the merge: (https://github.com/cesarrew/ng2-currency-mask/pull/104)
Added a pull-request: https://github.com/christopheelkhoury/ng2-currency-mask/pull/24
There's an issue in the original project about this problem, and there are instructions to deal with it. They could be implemented in this fork.
Migrated from original project (https://github.com/cesarrew/ng2-currency-mask/issues/103)
Orignal request by @ErickXavier, @michellehorn
Is it possible to have an option so the model has no special Characters?
Something like: [dropSpecialCharacters]="true"
Example: when you see R$ 199.999,10 the model itself is 19999910.
Response from @ErickXavier
I added the support, just waiting on the merge: (https://github.com/cesarrew/ng2-currency-mask/pull/104)