2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-22 10:30:34 +03:00

always call the filter callback

This commit is contained in:
Jeff
2019-11-16 15:25:26 -08:00
parent 22bf8f9475
commit 8794696e92
+2 -1
View File
@@ -1073,7 +1073,8 @@
return optionList; return optionList;
} }
let options = this.search.length ? this.filter(optionList, this.search, this) : optionList; let options = this.filter(optionList, this.search, this);
if (this.taggable && this.search.length && !this.optionExists(this.search)) { if (this.taggable && this.search.length && !this.optionExists(this.search)) {
options.unshift(this.search) options.unshift(this.search)
} }