Open megaarmos opened 6 months ago
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;
optional
withDefault
vee-validate
Vue.js 3.x and vee-validate 4.x
no errors
https://stackblitz.com/edit/czkc4v?file=src%2FApp.vue&startScript=dev
Typed schemas doesn't support field-level schemas at the moment. It should work with form-level schemas.
What happened?
I was trying to make
optional
schema to work, but i coudn't. Also i tried withwithDefault
from documentation ofvee-validate
(which is depricated) and it is also ot working. Expecting: optional value to show on load;Reproduction steps
Version
Vue.js 3.x and vee-validate 4.x
What browsers are you seeing the problem on?
Relevant log output
Demo link
https://stackblitz.com/edit/czkc4v?file=src%2FApp.vue&startScript=dev
Code of Conduct