[Vuejs]-Unhandled promise rejection InvalidCharacterError in IE11 with VEE Validate Vue.js and babel-polyfill

0👍

Arrow functions is not supported by IE 11. You need to polyfill all the ES6+ syntax to make it compatible with IE 11. You could use babel to polyfill the code in your question:

(void 0).$validator.validateAll().then(function (result) {  
  if (result) {
      //submit
    }
});

You could also refer to the accepted answer in this thread about installing and importing babel-polyfill to make vue.js app compatible with IE 11.

Leave a comment