mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-19 09:50:33 +03:00
Fixed unresponsive vue-select after clicking custom no-options (#703)
This commit is contained in:
@@ -78,6 +78,9 @@
|
|||||||
<em>{{ `${option.author.firstName} ${option.author.lastName}` }}</em>
|
<em>{{ `${option.author.firstName} ${option.author.lastName}` }}</em>
|
||||||
</template>
|
</template>
|
||||||
</v-select>
|
</v-select>
|
||||||
|
<v-select placeholder="Vue select with custom option" >
|
||||||
|
<span slot="no-options">Custom no options message</span>
|
||||||
|
</v-select>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|||||||
@@ -969,15 +969,14 @@
|
|||||||
* @return {void}
|
* @return {void}
|
||||||
*/
|
*/
|
||||||
onSearchBlur() {
|
onSearchBlur() {
|
||||||
if (this.mousedown && !this.searching) {
|
if(this.mousedown){
|
||||||
this.mousedown = false
|
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')
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user