-
Notifications
You must be signed in to change notification settings - Fork 299
-
Notifications
You must be signed in to change notification settings - Fork 299
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
Dynamically placeholder value #1341
Comments
@titkovvladislav |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐞 bug report
Is this a regression?
Yes, the previous version in which this bug was not present was: 16.4.1Description
The input stops working correctly when the placeholder value changes dynamically.🔬 Minimal Reproduction
In the created example, if you enter a number, everything works correctly - a mask is applied and a suffix is added. But if we change the placeholder, then everything breaks down - the number is not entered correctly and the suffix disappears..
https://stackblitz.com/edit/stackblitz-starters-kzxrzr?file=src%2Fmain.ts
Same thing here, only version "ngx-mask": "^16.4.1":
https://stackblitz.com/edit/stackblitz-starters-aip3vn?file=src%2Fmain.ts
Note that the suffix here also applies to the placeholder..
🌍 Your Environment
Angular Version:
Anything else relevant?
The text was updated successfully, but these errors were encountered: