Open chris-kohli opened 8 years ago
@cekohli ,
Which version of the inputmask do you use?
Had the issue with an older version (not sure exactly which), so I tried the most recent jquery.inputmask.bundle.js (3.3.4-47) with the same result.
@cekohli ,
Can you post your useragent string and make a jsfiddle. I tried locally and had no problem pasting data.
I have an example hosted here. Useragent below:
{ "ua": "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3; .NET4.0E; rv:11.0) like Gecko", "browser": { "name": "IE", "version": "11.0", "major": "11" }
For what it's worth, my IE11 on personal Win10 machine works fine. But all of the testers/devs on our work machines are having the same issue on Win7/IE11. The masks work as expected, just don't allow pasting. And if values are present, pasting just seems to clear the value entirely.
Create a JSFiddle as well if it helps.
Paste doesn't seem to be working with any mask I've tried for IE11. Using the latest version of InputMask & JQuery.
Example masks:
$('input[id$=field1]').inputmask("9{1,15}", { placeholder: ""});
$('input[id$=phone]').inputmask("(999) 999-9999");
Works fine in Chrome/Firefox.