diff --git a/dev/dev.html b/dev/dev.html index b8e8ddd..e5bf23e 100644 --- a/dev/dev.html +++ b/dev/dev.html @@ -78,6 +78,9 @@ {{ `${option.author.firstName} ${option.author.lastName}` }} + + Custom no options message + diff --git a/src/components/Select.vue b/src/components/Select.vue index 4db3ba5..aec21b2 100644 --- a/src/components/Select.vue +++ b/src/components/Select.vue @@ -969,15 +969,14 @@ * @return {void} */ onSearchBlur() { - if (this.mousedown && !this.searching) { + if(this.mousedown){ this.mousedown = false - } else { - if (this.clearSearchOnBlur) { - this.search = '' - } - this.open = false - this.$emit('search:blur') } + if (this.clearSearchOnBlur) { + this.search = '' + } + this.open = false + this.$emit('search:blur') }, /**