-
Notifications
You must be signed in to change notification settings - Fork 298
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
Does not work with Angular 12 #946
Comments
Same problem using mask to mask a input test as date |
By looking at the issue in this repository, it's clear that this library is not maintained anymore. I migrated to https://www.npmjs.com/package/@ngneat/input-mask which seems to perfectly fit the need and is actively maintained. |
Don't works here as well. I'm using angular 12 and after installing, tons of compile errors appeared in my console. I even bother to ask for help, moving to other component like @ssougnez suggested. |
Yes I used the component suggested by @ssougnez |
@ssougnez @89snake89 Thank you that shown this issues. Please try ngx-mask >= 14.2.2 @SuperSoldado |
🐞 bug report
Is this a regression?
No idea
Description
It simply does not work :-)
I tried with this code:
<input name="niss" type="text" formControlName="niss" mask="99.99.99-999.99" [showMaskTyped]="true" />
So nothing very fancy. At first, it seems to be working:
But as soon as I type something:
And at the end, the mask isn't even respected:
I'm surprised that I didn't find any issue relating to that because it simply nullifies the point of this library.
🔬 Minimal Reproduction
<input name="niss" type="text" formControlName="niss" mask="99.99.99-999.99" [showMaskTyped]="true" />
🔥 Exception or Error
None
🌍 Your Environment
Angular Version:
The text was updated successfully, but these errors were encountered: