Ngx-mask: mask="comma_separator" not working in version 8.1.2

Created on 16 Oct 2019  路  4Comments  路  Source: JsDaddy/ngx-mask

It's mask="comma_separator" working on 8.0.8
when I upgrade to the latest version 8.1.2 it's not working.

P1 bug help wanted

Most helpful comment

Working replacement: https://stackblitz.com/edit/ngx-mask-currency-example. Trick here is the thousandSeparator paired with the separator mask.

All 4 comments

It's now just mask="separator"
The readme is wrong currently, check out this one for up to date docs:
https://github.com/ColinMorris83/ngx-mask/tree/ADHOC-angular-cli-lib

Working replacement: https://stackblitz.com/edit/ngx-mask-currency-example. Trick here is the thousandSeparator paired with the separator mask.

This is a breaking change, and should not have been included in a minor version change

@daliri72 , @wilsonparson Hi! In the latest version (8.1.6) comma_separator and dot_separator were removed and documentation was updated. As was noticed, you can add such separator next way:<input type='text' mask="separator" thousandSeparator="," />

Was this page helpful?
0 / 5 - 0 ratings