Skip to content

Commit f757475

Browse files
author
Pooya Parsa
committed
[form-options] sync value with external changes bootstrap-vue#159
1 parent 4b371ab commit f757475

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/mixins/form-options.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ export default {
4949
return;
5050
}
5151
this.$emit('input', this.selectedValue);
52+
},
53+
value(value, old_value) {
54+
if (value === old_value) {
55+
return;
56+
}
57+
this.localValue = value;
5258
}
5359
}
5460
};

0 commit comments

Comments
 (0)