ngx-mask icon indicating copy to clipboard operation
ngx-mask copied to clipboard

Issue when hiddenInput is used on input along with phone number mask.

Open gchalamasetty opened this issue 10 months ago • 0 comments

🐞 bug report

Description

Issue when hiddenInput is used on input along with phone number mask. when you try to delete 1 number from the phone number the input is deleting 2 numbers instead. This is happening when a phone number mask is used with hiddenInput as false. The issue doesn't appear if hiddenInput is not used.

🔬 Minimal Reproduction

https://stackblitz.com/edit/angular-ivy-mask-xekdkdwl?file=src%2Fapp%2Fapp.component.html

🌍 Your Environment

"ngx-mask": "^18.0.4"

Angular Version:



Angular CLI: 18.2.12
Node: 20.11.1
Package Manager: npm 10.2.4
OS: darwin arm64

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

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1900.4
@angular-devkit/build-angular   18.2.12
@angular-devkit/core            19.0.4
@angular-devkit/schematics      18.2.12
@angular/cdk                    18.2.14
@angular/cli                    18.2.12
@schematics/angular             18.2.12
ng-packagr                      18.2.1
rxjs                            6.6.7
typescript                      5.4.5
zone.js                         0.14.10

gchalamasetty avatar Dec 23 '24 21:12 gchalamasetty