jQuery-Mask-Plugin
jQuery-Mask-Plugin copied to clipboard
Paste into a field with a dynamic size mask
To begin, thank you for this plugin.
Device
Desktop
Browser (and version)?
Chrome Version 67.0.3396.99 (Build officiel) (64 bits)
Functional jsfiddle exemplifying your problem:
http://jsfiddle.net/nbcqvdsz/
Describe de problem depth:
'A' is a mask of size 12 if the value of the input starts with 0 'B' is a mask of size 16 if the value of the input starts with 1 'W' is a mask accepting any value, with recursive = true
When writing in the field "012345678912" mask A applies.
The bug: If you paste a value respecting the mask B (size 16. Example: 123456789123/456789) by overwriting the mask A, only the first 12 characters are copied. You have to paste a second time to have all 16 characters of the clipboard.
Moreover the callback onInvalid is not called
Please share if you found any solution for copy pasting using this plugin?
I am also having the same problem, if someone found a solution, please share here too