vee-validate
vee-validate copied to clipboard
field-level schema not using `default` values from schema provider
What happened?
I was trying to make optional
schema to work, but i coudn't.
Also i tried with withDefault
from documentation of vee-validate
(which is depricated) and it is also ot working.
Expecting: optional value to show on load;
Reproduction steps
- Page loads
- Empty field
Version
Vue.js 3.x and vee-validate 4.x
What browsers are you seeing the problem on?
- [X] Firefox
- [X] Chrome
- [X] Safari
- [X] Microsoft Edge
Relevant log output
no errors
Demo link
https://stackblitz.com/edit/czkc4v?file=src%2FApp.vue&startScript=dev
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Typed schemas doesn't support field-level schemas at the moment. It should work with form-level schemas.