You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
During the initialization of the input mask, an extra digit is being added. Specifically, when the mask is configured as 7-999-999 and the initial input value is 7-7__-___, after initialization, the value becomes 7-77_-___. This behavior is unexpected and seems to indicate a problem in the mask initialization process.
To Reproduce
Steps to reproduce the behavior:
Configure the input mask with the following settings:
constmaskConfig={mask: '7-999-999',};
Initialize the mask with an initial value of 7-7__-___.
Observe the value after initialization, which changes to 7-77_-___.
Expected behavior
The value should remain 7-7__-___ after mask initialization.
The text was updated successfully, but these errors were encountered:
If your mask includes fixed digit 7, I'm pretty sure you should set value of your input field without it in mind i.e. if you want the result to be 7-123-456, you should set your value to 123456.
I believe this is intended behavior.
Describe the bug
During the initialization of the input mask, an extra digit is being added. Specifically, when the mask is configured as
7-999-999
and the initial input value is7-7__-___
, after initialization, the value becomes7-77_-___
. This behavior is unexpected and seems to indicate a problem in the mask initialization process.To Reproduce
Steps to reproduce the behavior:
The value should remain 7-7__-___ after mask initialization.
The text was updated successfully, but these errors were encountered: