Closed lucnt1100 closed 3 days ago
I want validate each element of the array like this const schema = { array.0.name: 'required' } but the form got errors parse name: 'message error'
I read the docs guide to use yup library but my member did not use this how can write a schema for an array like for an object with rules string
1. 2. 3. ...
Vue.js 3.x and vee-validate 4.x
No response
no, code
Can you please provider a reproduction?
What happened?
I want validate each element of the array like this const schema = { array.0.name: 'required' } but the form got errors parse name: 'message error'
I read the docs guide to use yup library but my member did not use this how can write a schema for an array like for an object with rules string
Reproduction steps
1. 2. 3. ...
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
no, code
Code of Conduct