npm vee-validate 2.0.0-beta.18

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

Breaking Changes

  • Rework url rule: require protocol by default and replace domain parameter with a require protocol flag.
  • When validating expressions, the expression will not be used as the field name anymore, instead it will use the name attribute.
  • When specifying a component name, the validator looks for a name property then data-vv-name if not found, the priority is now reversed since the name property may not be the intended field name.

Fixed Issues

  • Fix most issues with v-if and v-for, now missing/hidden fields won't be validated.
  • Fix confirmed, after, and before rules not validating when the target field value changes if it was hidden.
  • Fix files not being rejected after failing validation.
  • Attempt to fix an issue when validating select elements not reacting to changes to the value, halting the functionality of the input.

Other

  • New Locales: Persian, Hebrew.
  • Update English messages to have better grammar.

Dist changes

Vue 2.0 version of the plugin will be the default version when installing using npm, the Vue 1.0 version will instead have the prev tag name, so from now on to install:

Installs Vue 2.x of the plugin

npm install vee-validate

installs Vue 1.x of the plugin

npm install vee-validate@prev

Don't miss a new vee-validate release

NewReleases is sending notifications on new releases.