You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be an issue with radio input values not being captured since v4.9.0. As far as I can tell, this is only an issue when using slot/v-slot. A simple <field name="units" type="radio" value="Metric" v-model="units" /> does work as expected.
I believe this may be related to these changes, but have not had the time to dig in and prove that definitively.
Reproduction steps
I've not been able to figure out exactly when this does and doesn't work, but I do have a really simple test case attached.
A working example vith vee-validate@4.8.6 is located here. As you can see, checking either radio field causes the Selection to update.
When using the exact same code with vee-validate@4.9.0 or greater, Selection is never populated.
What happened?
There seems to be an issue with radio input values not being captured since
v4.9.0
. As far as I can tell, this is only an issue when usingslot
/v-slot
. A simple<field name="units" type="radio" value="Metric" v-model="units" />
does work as expected.I believe this may be related to these changes, but have not had the time to dig in and prove that definitively.
Reproduction steps
I've not been able to figure out exactly when this does and doesn't work, but I do have a really simple test case attached.
A working example vith
vee-validate@4.8.6
is located here. As you can see, checking either radio field causes theSelection
to update.When using the exact same code with
vee-validate@4.9.0
or greater,Selection
is never populated.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
https://codesandbox.io/s/vee-validate-4-9-0-radio-group-nfzqju?file=/src/App.vue
Code of Conduct
The text was updated successfully, but these errors were encountered: