Skip to content

Is there an issue with the basic example? #239

Answered by folknor
moskito asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, that example is "missing" (it's not really meant to be a complete example) listening to the selection event, like

$("autoComplete").addEventListener("selection", ev => { ... })

In that handler you can do $("autoComplete").value = ev.detail.selection.value or equivalent.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@folknor
Comment options

Answer selected by moskito
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants