Ngx-mask: Separator mask not working well with decimals

Created on 24 Jun 2019  路  3Comments  路  Source: JsDaddy/ngx-mask

Hello, currently I have the following problem:

{{ 318.9 | mask: 'separator' }} --> 318. (Expected: 318.9)
{{ 318.9 | mask: 'separator.2' }} --> 318. (Expected: 318.9)
{{ 12318.9 | mask: 'separator' }} --> 12 318. (Expected: 12 318.9)
{{ 12318.9 | mask: 'separator.2' }} --> 12 318. (Expected: 12 318.9)

Version: [email protected]

What am I doing wrong?

P1 bug help wanted

All 3 comments

@humpedli could you provide a full example ?

@ValeriaKochegarova what do you mean by full example? There are 4 examples in my previous message, please tell me what else should I put here, thank you.

@humpedli Hi, will be fixed in the new mask version

Was this page helpful?
0 / 5 - 0 ratings