Maskito libraries were created to prevent user from typing invalid value.
input events. Programmatic (by developer) changes of input's value don't trigger these events!
If you need to programmatically patch input's value but you are not sure that your value is valid (for example, you get it from the server), you should use
maskitoTransform utility .
The following sections are recommended to explore core concepts further: