mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-07 07:12:23 +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) {
|
||||
this.search = ''
|
||||
}
|
||||
if (this.noDrop && this.multiple) {
|
||||
this.$nextTick(() => this.$refs.search.focus())
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user