2
0
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:
Erik Nygren
2022-07-15 19:45:05 +02:00
committed by GitHub
parent fc643db043
commit 24270643de
+3
View File
@@ -1041,6 +1041,9 @@ export default {
if (this.clearSearchOnSelect) {
this.search = ''
}
if (this.noDrop && this.multiple) {
this.$nextTick(() => this.$refs.search.focus())
}
},
/**