Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internet explorer 11 #29

Closed
peterSa opened this issue Oct 9, 2016 · 4 comments
Closed

Internet explorer 11 #29

peterSa opened this issue Oct 9, 2016 · 4 comments

Comments

@peterSa
Copy link

peterSa commented Oct 9, 2016

I love the plugin but it does not work in internet explorer.
Currently I am testing it in internet explorer 11 and it doesnt work.
Apparently the main issue is the translations file as ie does not support the syntax

function(field, [target])

with brackets.
Is there an easy fix for this?

@logaretm
Copy link
Owner

logaretm commented Oct 9, 2016

Sorry, I assumed that most people will have some sort of a bundling/build step with Webpack or Browserify or whatever, which would resolve this issue since babel is going to take care of it. and exporting language files as modules makes a lot of since, I kept it in ES6 tho. sorry about that.

the easiest fix I can think of is to destruct it yourself like this, although this will be very annoying for you.

min(field, params) {
    var target = params[0];
    // ....
}

or you can plug the translation file into babel-cli and let it transbile the ES6 then you can use the output ES5 code.

if you are indeed using a build tool and this issue occurs, I will look into it.

@logaretm
Copy link
Owner

I will assume its fixed, feel free to re-open if its not the case.

@avi2911
Copy link

avi2911 commented Apr 19, 2018

Sorry to re-open,i'm getting same error IE is not supporting vee-validate can you please guide me the solution...

@avi2911
Copy link

avi2911 commented Apr 19, 2018

i tried polyfill it's not working..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants