Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Dynamic valid mask" is not working with "repeat mask" #908

Closed
framasev opened this issue Jun 7, 2021 · 1 comment
Closed

"Dynamic valid mask" is not working with "repeat mask" #908

framasev opened this issue Jun 7, 2021 · 1 comment
Labels

Comments

@framasev
Copy link

framasev commented Jun 7, 2021

🐞 bug report

Description

"Dynamic valid mask" is not working with "repeat mask":

<!-- is not working -->
<input type="text" mask="0{10}||0{12}"> 

<!-- is working -->
<input type="text" mask="0000000000||000000000000">

🔬 Minimal Reproduction

https://stackblitz.com/edit/angular-ivy-x5em9s

🌍 Your Environment

Angular Version:


Angular CLI: 11.2.6
Node: 12.18.3
OS: darwin x64

Angular: 11.2.7
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1102.6
@angular-devkit/build-angular   0.1102.6
@angular-devkit/core            11.2.6
@angular-devkit/schematics      11.2.6
@angular/cdk                    11.2.13
@angular/cli                    11.2.6
@angular/material               11.2.13
@schematics/angular             11.2.6
@schematics/update              0.1102.6
rxjs                            6.6.7
typescript                      4.0.7
@andriikamaldinov1
Copy link
Collaborator

@framasev Thanks for your using Ngx-Mask. Please update to latest version.
It example, all work as expected - https://stackblitz.com/edit/angular-mrsyvh?file=src%2Fmain.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants