Skip to content

Radio with slot not updating v-model #3805

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

You must be logged in to vote

Have you tried using v-model on the Field component itself?

      <Field
        name="standardRadioModel"
        type="radio"
        v-model="standardRadioModel"
        v-slot="{ field, errors, meta }"
      >
....
</Field>

I've updated the example here:

https://codesandbox.io/s/custom-text-input-with-vee-validate-v4-forked-3p9rfs?file=/src/App.vue:138-291

P.S: I moved this to discussions since I do not think this is a bug or an issue.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sametsafak
Comment options

You must be logged in to vote
0 replies
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 #3800 on June 16, 2022 20:50.