mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-07 07:12:23 +03:00
Refactoring for pull request #703
This commit is contained in:
@@ -969,7 +969,6 @@
|
||||
* @return {void}
|
||||
*/
|
||||
onSearchBlur() {
|
||||
|
||||
if (this.mousedown && !this.searching) {
|
||||
this.mousedown = false
|
||||
} else {
|
||||
@@ -977,13 +976,13 @@
|
||||
this.search = ''
|
||||
}
|
||||
this.closeSearchOptions()
|
||||
return
|
||||
}
|
||||
|
||||
// Fixed bug where no-options message could not be closed
|
||||
if(this.search.length === 0 && this.options.length === 0){
|
||||
this.closeSearchOptions()
|
||||
return
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user