Ngx-mask: displaying wrong value if decimalMaker, separator.2 and integer value

Created on 4 Feb 2020  路  3Comments  路  Source: JsDaddy/ngx-mask

Would it be possible to implement my example?
Ex:
model value: 1000
separator.2
decimalMaker=","
thousandSeparator="."
display: 1.000 its nok
expected: 1.000,00

Ex2:
model value: 1000.01
separator.2
decimalMaker=","
thousandSeparator="."
display: 1.000,01 its ok
expected: 1.000,01

P2 enhancement help wanted

Most helpful comment

@lramondev Hi. We will discuss it and possible such functionality will appear in next versions of mask.

All 3 comments

@lramondev Hi. We will discuss it and possible such functionality will appear in next versions of mask.

@isysenko Is any update there?

please any news?
Is it possible to use decimalMaker as a pipe?
Ex: value | mask: 'separator.2': '.': ','

Was this page helpful?
0 / 5 - 0 ratings