npm vee-validate 2.0.0-rc.19

latest releases: 4.14.7, 4.14.6, 4.14.5...
7 years ago

🐛 Fixed

  • Close an issue where target dependent rules would crash if the fallback name selector fails. #870
  • Close an issue where custom components would fail to validate because of broken IE fallback #863 #878

✨ Enhancements

  • minimal build size has been slightly reduced, by excluding all locales, since no rules are present. so you have to install the locale you want to use.

  • Merged in #868 Which adds support for components to use ctor configs to configure some defaults for their behavior, which allows you to omit data-vv-name, data-vv-value-path values entirely.

const Child = Vue.extend({
  $_veeValidate: {
    rejectsFalse: true,
    value: function () {
      return this.innerValue;
    }
  },
  name: 'child',
  template: `<div></div>`,
  data: () => ({
    innerValue: 'initial'
  })
});

Read the PR for the full details about this.

Don't miss a new vee-validate release

NewReleases is sending notifications on new releases.