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

separator mask not working properly #1260

Closed rahyl-0 closed 11 months ago

rahyl-0 commented 11 months ago

🐞 bug report

Is this a regression?

Yes, the previous version in which this bug was not present was: 10.0.0 ### Description In Angular 15, I am facing an issue with separator mask of ngx-mask where if I type values in the input like '123456789',I'm seeing it as '123 456 789',there is space between the numbers, and I'm not even using thousand separator,I even tried using thousand separator as comma , still the problem is persistent,I have given a stackblitz link below ,there is amount input which is using mask separator ,please check the output ## πŸ”¬ Minimal Reproduction https://stackblitz.com/edit/github-au4nf7?file=src%2Fapp%2Fapp.component.html,src%2Fapp%2Fshared%2Fcustom-input%2Fcustom-input.component.ts,src%2Fapp%2Fshared%2Fcustom-input%2Fcustom-patterns.ts,src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fshared%2Fcustom-input%2Fcustom-input.component.html

🌍 Your Environment

Angular Version:



 Angular CLI: 15.1.6
Node: 16.20.0
Package Manager: npm 8.19.4
OS: win32 x64

Angular: 15.2.10
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1502.10
@angular-devkit/build-angular   15.2.10
@angular-devkit/core            15.2.10
@angular-devkit/schematics      15.1.6
@angular/cli                    15.1.6
@schematics/angular             15.1.6
rxjs                            7.8.1
typescript                      4.9.5

Anything else relevant?