2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-05-17 02:29:37 +03:00

Fixed unresponsive vue-select after clicking custom no-options (#703)

This commit is contained in:
Marek Meyer
2018-11-15 16:36:20 +01:00
committed by Marek Meyer
parent e0584cda96
commit 88ed8d4819
2 changed files with 9 additions and 7 deletions
+3
View File
@@ -78,6 +78,9 @@
<em>{{ `${option.author.firstName} ${option.author.lastName}` }}</em>
</template>
</v-select>
<v-select placeholder="Vue select with custom option" >
<span slot="no-options">Custom no options message</span>
</v-select>
</div>
</body>
+6 -7
View File
@@ -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')
},
/**