Skip to content

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

Open
@gchalamasetty

Description

@gchalamasetty

🐞 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions