We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e76a41f commit 0028a10Copy full SHA for 0028a10
components/radio/Radio.jsx
@@ -54,14 +54,14 @@ export default {
54
handleChange (event) {
55
const targetChecked = event.target.checked
56
this.$emit('input', targetChecked)
57
- const { name, value, radioGroupContext, stateChecked } = this
+ const { name, value, radioGroupContext } = this
58
if ((!hasProp(this, 'checked') && !radioGroupContext) || (radioGroupContext && radioGroupContext.value === undefined)) {
59
this.stateChecked = targetChecked
60
}
61
const target = {
62
name,
63
value,
64
- checked: !stateChecked,
+ checked: targetChecked,
65
66
if (this.radioGroupContext) {
67
this.radioGroupContext.handleChange({ target })
0 commit comments