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
It enables characters overwriting instead of inserting
What exactly does that mean? From my testing enabling or disabling overwrite has no affect on the output produced. The only unit test produces the same result regardless of overwrite being true or false.
I also had the same doubt, but I identified the issue 129 that originated this functionality and I understood the problem it solves.
Explaining: The overwrite property is useful when you work with an input and, after typing a value, you go back to some previous position and type again. At that point, it will check the overwrite. If it has 'true' then it replaces the character that is currently in it. If it has 'false' then it adds a new character and pushes the others.
From the docs
What exactly does that mean? From my testing enabling or disabling
overwrite
has no affect on the output produced. The only unit test produces the same result regardless ofoverwrite
being true or false.https://stackblitz.com/edit/imask-overwrite?file=index.js
The text was updated successfully, but these errors were encountered: