mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-22 10:30:34 +03:00
feat(taggable): retain input focus after adding a tag in noDrop (#755)
Co-authored-by: Jeff Sagal <sagalbot@gmail.com>
This commit is contained in:
@@ -1041,6 +1041,9 @@ export default {
|
|||||||
if (this.clearSearchOnSelect) {
|
if (this.clearSearchOnSelect) {
|
||||||
this.search = ''
|
this.search = ''
|
||||||
}
|
}
|
||||||
|
if (this.noDrop && this.multiple) {
|
||||||
|
this.$nextTick(() => this.$refs.search.focus())
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user