JsDaddy / ngx-mask

Angular Plugin to make masks on form fields and html elements.
https://jsdaddy.github.io/ngx-mask
MIT License
1.16k stars 300 forks source link

Prefix will be removed twice if showMaskedType=true #1217

Closed marsc closed 1 year ago

marsc commented 1 year ago

🐞 bug report

Is this a regression?

Yes, it worked in version 16.1.9 ### Description The Prefix will be removed twice if showMaskedType=true ## 🔬 Minimal Reproduction https://stackblitz.com/edit/angular-tubynu?file=src%2Fmain.ts

🌍 Your Environment

Angular Version:

See Stackblitz versions

andriikamaldinov1 commented 1 year ago

@marsc Thanks for using Ngx-Mask. Please update to latest version. All work as expected - https://stackblitz.com/edit/angular-x2dj1c?file=src%2Fmain.ts