jQuery-Mask-Plugin
jQuery-Mask-Plugin copied to clipboard
Mask does not working when copy and paste holding the CTRL key
Masked fields allow any content copied and pasted, with right mouse button and holding CTRL key, without applying mask and removing invalid characters.
Steps to Reproduce:
1-Copy any content 2-Click with right mouse button in masked field, while hold CTRL key, and select "Paste" option.
Result: See that whole copied content was pasted in the field, even invalid chars.
Tested in latest version of Chrome using this exemple: http://jsfiddle.net/igorescobar/6pco4om7/
@edilsonmendes Is this a real scenario or you are just trying to break things? ^^
@igorescobar , it was a scenario discovered by our test team. There are some copy/paste tests in the input fields. We use this wonderful lib in many applications. Congratulations on your great work.
Hi @igorescobar , We are also facing this issue while using mask plugin. Is there any workaround available to get rid of this issue?
Speaking of 2020 this is an unfixed issue yet. The copy/paste -- with or without holding Ctrl key -- is a real world scenario indeed and should be fixed. I mean for the sake of this great lib.