Inputmask icon indicating copy to clipboard operation
Inputmask copied to clipboard

Pasting values into masked inputs does not call events

Open salvadormarcos opened this issue 3 years ago • 1 comments

When pasting values into the input, the "oncomplete", "onincomplete" and "oncleared" events are not being called. This problem is affecting recent versions (5.0.4 ~ 5.0.6-beta.9).

In the example at: https://stackblitz.com/edit/js-qgyxqa. Pasting the value "1328" or "x1245" the rules of the mask are respected but no event mentioned above is called.

salvadormarcos avatar Aug 14 '20 13:08 salvadormarcos

Final 5.0.6.

In this example is onincomplete event triggered, but oncomplete not.

https://jsfiddle.net/mkyral/y0wcgxrh/8/

mkyral avatar Oct 01 '21 10:10 mkyral