<input type="radio" :value="myValue" v-model="value" />
I am attempting to create a radio button within a component, where value
is a variable. However, I am encountering an error that states:
:value="myValue" conflicts with v-model on the same element because the latter already expands to a value binding internally
Despite trying to use direct bindings instead of v-model
, I am unable to reproduce the same functionality. Why is this error occurring in this particular scenario? This code is directly from the official documentation for radio buttons.