2
0
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:
Jeff Sagal
2016-07-11 16:21:35 -07:00
2 changed files with 60 additions and 2 deletions
+11 -2
View File
@@ -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)
}
},