taiga-family/maskito

๐Ÿž - decimalZeroPadding & Postfix incompatible

selcuk-sahin opened this issue ยท 1 comments

Which package(s) are the source of the bug?

@maskito/kit

Playground Link

https://stackblitz.com/edit/pjvley?file=mask.ts

Description

When I use
decimalZeroPadding: true with a postfix, such as postfix: ' TL' I'm getting this weird behavior, where postfix is duplicated.

Maskito version

"@maskito/core": "1.2.0",     "@maskito/kit": "1.2.0"

Which browsers have you used?

  • Chrome
  • Firefox
  • Safari
  • Edge

Which operating systems have you used?

  • macOS
  • Windows
  • Linux
  • iOS
  • Android

Duplicates #367