JsDaddy / ngx-mask

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

Don't drop special character #1279

Closed walkadaw closed 10 months ago

walkadaw commented 10 months ago

🐞 bug report

Is this a regression?

Yes, the previous version in which this bug was not present was: 16.3

Description

A clear and concise description of the problem... ## πŸ”¬ Minimal Reproduction Just fill input and will see value. https://stackblitz.com/edit/stackblitz-starters-fawxhr?file=src%2Fmain.ts,src%2Findex.html

πŸ”₯ Exception or Error

dropSpecialCharacters work well. when write 000 000 in control should be 000000

🌍 Your Environment

Angular Version:


Angular CLI: 16.1.4
Node: 18.12.1
Package Manager: npm 8.18.0
OS: win32 x64

Angular: 16.0.3
... animations, cdk, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1601.4
@angular-devkit/build-angular   16.2.0
@angular-devkit/core            16.1.4
@angular-devkit/schematics      16.1.4
@angular/cli                    16.1.4
@schematics/angular             16.1.4
ng-packagr                      16.0.1
rxjs                            7.8.1

Anything else relevant?

andriikamaldinov1 commented 10 months ago

@walkadaw Thanks for using Ngx-mask. Please update to latest version. It example all work as expected - https://stackblitz.com/edit/stackblitz-starters-k39txt?file=src%2Fmain.ts,src%2Findex.html