2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-07 07:12:23 +03:00

WIP - potential fix

This commit is contained in:
Jeff
2019-10-24 16:10:37 -07:00
parent 17c1d3db97
commit b0e99c9466
4 changed files with 54 additions and 11 deletions
+1 -2
View File
@@ -472,14 +472,13 @@
* when options change.
* Make sure selected option
* is correct.
* @return {[type]} [description]
*/
options(val) {
if (!this.taggable && this.resetOnOptionsChange) {
this.clearSelection()
}
if (this.value && this.isTrackingValues) {
if (this.resetOnOptionsChange && this.isTrackingValues) {
this.setInternalValueFromOptions(this.value)
}
},