Closed jack-allocate closed 3 days ago
defineField supports a MaybeRefOrGetter, which implies I could do: defineField(() => 'email')
defineField
MaybeRefOrGetter
defineField(() => 'email')
However, the resulting errors doesn't seem to access the inner value of the path
errors
errors: { "() => 'email'": "this is a required field" }
Check demo link
Vue.js 3.x and vee-validate 4.x
No response
https://stackblitz.com/edit/7qet3p-52nwk7?file=src%2FApp.vue
Thanks for reporting this, the fix will be shipped in the next release.
What happened?
defineField
supports aMaybeRefOrGetter
, which implies I could do:defineField(() => 'email')
However, the resulting
errors
doesn't seem to access the inner value of the pathReproduction steps
Check demo link
Version
Vue.js 3.x and vee-validate 4.x
What browsers are you seeing the problem on?
Relevant log output
No response
Demo link
https://stackblitz.com/edit/7qet3p-52nwk7?file=src%2FApp.vue
Code of Conduct