How to select per default the first element in the combobox list item #1051
MuslemRahimi
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I’m looking for a way to make the first element of a combobox selected by default when it’s opened (as shown in the screenshot). Additionally, I’d like the first element to be automatically selected when performing a search and pressing enter.
I’m currently using Svelte 4. Is there a straightforward way to implement this feature?
Thanks in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions