mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-13 08:32:26 +03:00
remove stray coverage file
This commit is contained in:
@@ -383,7 +383,16 @@
|
||||
}
|
||||
return newOption
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* When false, updating the options will not reset the select value
|
||||
* @type {Boolean}
|
||||
*/
|
||||
resetOnOptionsChange: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
},
|
||||
|
||||
data() {
|
||||
@@ -402,7 +411,7 @@
|
||||
}
|
||||
},
|
||||
options() {
|
||||
if (!this.taggable) {
|
||||
if (!this.taggable && this.resetOnOptionsChange) {
|
||||
this.$set('value', this.multiple ? [] : null)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user