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.
input
1 parent a4dbf7f commit bf2b9faCopy full SHA for bf2b9fa
src/mixins/form-radio-check-group.js
@@ -1,4 +1,5 @@
1
import { htmlOrText } from '../utils/html'
2
+import looseEqual from '../utils/loose-equal'
3
import normalizeSlotMixin from './normalize-slot'
4
import { BFormCheckbox } from '../components/form-checkbox/form-checkbox'
5
import { BFormRadio } from '../components/form-radio/form-radio'
@@ -70,8 +71,10 @@ export default {
70
71
checked(newVal) {
72
this.localChecked = newVal
73
},
- localChecked(newVal) {
74
- this.$emit('input', newVal)
+ localChecked(newVal, oldVal) {
75
+ if (!looseEqual(newVal, oldVal)) {
76
+ this.$emit('input', newVal)
77
+ }
78
}
79
80
render(h) {
0 commit comments