How to make the cursor focus on the search input after selecting multiple items? #1646
Answered
by
joycewen0910
joycewen0910
asked this question in
Help Wanted
-
I try to use getElementById but not working |
Beta Was this translation helpful? Give feedback.
Answered by
joycewen0910
Jun 17, 2022
Replies: 1 comment
-
I have a solution after asking my colleague |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
joycewen0910
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a solution after asking my colleague
const optionSelected = async (selectedOption)=>{ await nextTick() document.getElementById(
search${field.id}).focus() }