🐛 Fixes
- fix: handle input type not being specified closes #2229
- fix: correctly set the required for providers #2230
- fix: proxy listeners to the validation observer tag node closes #2227
Potentially Breaking 💣
Depending on how you were validating before submitting with observers, there was a confusing problem as the validate
method on the slot was different than the one on the observer instance causing confusion and unintended results. #2226
The validate
method on the slot will resolve regardless of validation result and add new 'passes()' to make it easier to validate before submitting.
<ValidationObserver v-slot="{ invalid, passes }">
<form @submit.prevent="passes(submit)">
<!-- Your Fields -->
</form>
</ValidationObserver>