vue-masked-input
vue-masked-input copied to clipboard
IE 11 support
Guys, is ie 11 supported? When I use phone mask it outputs ERROR string instead of mask in ie11
in IE, firefox doesn't work
You're probably missing babel-polyfill for Array.from
It works in IE11 but there are cosmetic issues. I dont want to open a separate issue. The underlining that shows the mask format sometimes disappear completely and comes back after you move focus to another control then back to mask control and then back to another control. Even then, sometimes it comes back sometimes it doesn't.
I have the problem with IE11 regarding pasting any data from the clipboard.
You need to transpile it with babel yourself to support IE11.
If you are using babel already, but with the useBuiltIns: 'usage'
option rather then pulling all of the available polyfills into the bundle, then you need to add the path to the library in the rule that processes stuff for the babel loader.
It should look something like this:
{
test: /\.(js)$/,
include: [
resolvePath('./src'),
/*
* Vue-masked-input does not support IE11 out of the box (has Array.from)
* see: https://github.com/niksmr/vue-masked-input/issues/36
*/
resolvePath(./'node_modules/vue-masked-input'),
],
use: [
{
loader: 'babel-loader',
},
],
},