2.13.0
Chrome 79 / Ubuntu 19.04
2.6.11
https://codepen.io/raikel/pen/ZEGpObw?editors=1000
Set :value="value" and @change="val => value = val" on an el-radio-group component with a value data.
To be able to select a radio group item
Unable to select any radio group item
May be related to #18852. I think this a serious issue. I am unable to make my component's data to get synced with store data because these issues. Even more, this is the "Vuex way" to form handing to keep component data synced with store data, as pointed here:
<input :value="message" @input="updateMessage">
Got the same issue.
When selecting other option value passed onChange event is the same as the selected one.
UPDATE: using v-model together with @change seems to be working.
Instead to using the @change event, you must use the @input event for this to work. Although the @input event is not listed in the events section of the docs for this component, the @input event must exist for a components that implements the v-model api. Working sample here
@raikel It is a bug, why not fix it ?
Most helpful comment
@raikel It is a bug, why not fix it ?