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

Merge branch 'fix_premature_autocomplete' into 'master'

Select input after submit

See merge request spraksamlingane/beta.ordbok.uib.no!45
parents 74f4c8ed 12c998d8
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,8 @@
this.suggesting = false
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