Skip to content

How to make the cursor focus on the search input after selecting multiple items? #1646

Discussion options

You must be logged in to vote

I have a solution after asking my colleague
const optionSelected = async (selectedOption)=>{ await nextTick() document.getElementById(search${field.id}).focus() }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by joycewen0910
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant