Skip to content
Snippets Groups Projects
Commit 12c998d8 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

Select input after submit

parent 74f4c8ed
No related branches found
No related tags found
No related merge requests found
...@@ -108,7 +108,8 @@ ...@@ -108,7 +108,8 @@
this.suggesting = false this.suggesting = false
this.$emit('submit', item) this.$emit('submit', item)
setTimeout(() => this.$refs.autocomplete.blur(), 1) let self = this
setTimeout(() => self.$refs.autocomplete.$refs.input.select(), 1)
} }
} }
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment