ngx-mask
ngx-mask copied to clipboard
Lost separator when it's part of the suffix
🐞 bug report
Is this a regression?
Yes, the previous version in which this bug was not present was: 11.1.3
Description
When suffix contains separator (dot), separator disappears.
suffix: ' x.',
mask: 'separator.5',
value: 5.5
How should it be (and was at 11.1.3): 5.5 x.,
now: 55 x..
https://github.com/JsDaddy/ngx-mask/commit/f14b4fe9b9a7a80092d9c3febb1f1b0298c1895c#diff-d640c03bb3764dfc66ec73af3b45f9794d8aba36fbed139b952753aa9bfd2c08
🌍 Your Environment
Angular Version:
11.2.10