Skip to content

How to validate the checkbox group using element plus ? #3889

Answered by logaretm
piterssson asked this question in Q&A
Discussion options

You must be logged in to vote

I moved this to discussions since it is more of a question.

You shouldn't use v-model="value" as the value isn't mutable (I might reconsider this)

Also since element plus requires having a v-model integration then you can work around it by manually binding model-value and listening to update:model-value. Here is an example.

https://stackblitz.com/edit/vee-validate-v4-element-plus-436eka?file=src%2FApp.vue

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by piterssson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3886 on August 11, 2022 09:54.