1.4.6
Arch Linux/ Chromium 61.0.3163.100
2.5.0
https://jsfiddle.net/sunsijie/pgn7gyu9/#&togetherjs=smS20MqksL
just click it
only one should be highlighted
every item clicked is highlighted
Same here.
the cause is that the input element's input event cannot be handled by v-model in 2.5.0, so the parent radio group will never $emit
A thing to note:
If you import redio button directly from source (with webpack), that said, use import ElRadioButton from 'element-ui/packages/radio-button' and use it in your code, the component will work again.
So this bug seems to be a regression on vue's side
seems similar cause for #7474
posted an issue in vue vuejs/vue#6803
it is to be fixed in vue's next patch version
@KagamiChan Thanks for boiling it down.
Upgrading Vue to 2.5.2 fixes this: https://jsfiddle.net/pgn7gyu9/1/
Most helpful comment
Same here.
the cause is that the input element's input event cannot be handled by
v-modelin 2.5.0, so the parent radio group will never$emitA thing to note:
If you import redio button directly from source (with webpack), that said, use
import ElRadioButton from 'element-ui/packages/radio-button'and use it in your code, the component will work again.So this bug seems to be a regression on vue's side
seems similar cause for #7474