Skip to content

Help validating a @vueform/multiselect using Yup (used to work in previous version) #4449

Closed Answered by damianfranco-miami
damianfranco-miami asked this question in Q&A
Discussion options

You must be logged in to vote

Fixed. I was using string instead of array in the schema.

  roles: Yup.array().min(1).required().label("Roles is required"),

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by logaretm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant