mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-16 09:10:33 +03:00
fix(reduce): do not set $data._value in updateValue if reduce option is set
Closes #1210
This commit is contained in:
@@ -713,7 +713,7 @@
|
||||
* @param value
|
||||
*/
|
||||
updateValue (value) {
|
||||
if (this.isTrackingValues) {
|
||||
if (typeof this.value === 'undefined') {
|
||||
// Vue select has to manage value
|
||||
this.$data._value = value;
|
||||
}
|
||||
@@ -989,7 +989,6 @@
|
||||
*/
|
||||
selectedValue () {
|
||||
let value = this.value;
|
||||
|
||||
if (this.isTrackingValues) {
|
||||
// Vue select has to manage value internally
|
||||
value = this.$data._value;
|
||||
|
||||
Reference in New Issue
Block a user