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

Merge pull request #27 from mkoterle/blur-on-select

Blur on select if not multiple.
This commit is contained in:
Jeff
2016-04-05 08:41:23 -07:00
+1
View File
@@ -314,6 +314,7 @@
onAfterSelect(option) { onAfterSelect(option) {
if (!this.multiple) { if (!this.multiple) {
this.open = !this.open this.open = !this.open
this.$els.search.blur()
} }
if( this.clearSearchOnSelect ) { if( this.clearSearchOnSelect ) {