npm vee-validate 2.1.2

latest releases: 4.13.2, 4.13.1, 4.13.0...
5 years ago

Enhancements

  • added alias getter for $_veeValidate ctor options #1684

Validation Components

  • provider added new debounce prop (number), this props debounces the validations by the specified number in ms.

  • provider added new bails prop (boolean), this disables the fail-on-first error behavior and bypasses the required rule skipping other rules.

  • observer and provider components should render single root slots correctly,
    previously this prevented using anything other than template as the slot. You then can do:

<ValidationProvider rules="required">
  <VTextField slot-scope="{ errors }" v-model="value" :error-messages="errors" />  
</ValidationProvider>
  • observer: added errors prop to the slot data, which exposes errors of all providers keyed by their vid prop.

Don't miss a new vee-validate release

NewReleases is sending notifications on new releases.