vee-validate icon indicating copy to clipboard operation
vee-validate copied to clipboard

field-level schema not using `default` values from schema provider

Open megaarmos opened this issue 11 months ago • 1 comments

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

  1. Page loads
  2. 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

megaarmos avatar Mar 04 '24 00:03 megaarmos

Typed schemas doesn't support field-level schemas at the moment. It should work with form-level schemas.

logaretm avatar May 28 '24 23:05 logaretm