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 therequired
rule skipping other rules. -
observer and provider components should render single root slots correctly,
previously this prevented using anything other thantemplate
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.