-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
InputMask: Unexpected behavior when using "unmask" property #7755
Comments
Hi @melloware, Can I work on this? |
Sure |
Hi @melloware , I have pushed the fix. Please verify and merge. |
I think this is already fixed by: #7686 as in main I running |
https://stackblitz.com/edit/bdj2wmcv?file=src%2FApp.jsx |
@sarathkumarsasi stackblitz is running PrimeReact 10.9.2 as 10.9.3 is not released yet. The fix is in current gitHub Main branch but not been released yet. You can test it by running |
@melloware Go it, Thank you |
Describe the bug
When using a mask that has spaces between the characters, e.g., "**** **** ****", and the "unmask" property is enabled, when you start entering characters their sequence becomes messed up at some point.
Reproducer
https://stackblitz.com/edit/bdj2wmcv?file=src%2FApp.jsx
System Information
Steps to reproduce the behavior
Expected behavior
When entering a certain sequence of characters, the sequence should not be randomly misaligned.
The text was updated successfully, but these errors were encountered: