cmdk
cmdk copied to clipboard
When searching, first item in list of filtered results is selected
Instead of filtering the rendered list when searching, I'd like to select the 1st result of a search. I love this because I can still traverse a list using the keyboard. Is this possible with cmdk
?
- I can type "1"
- Press down
- Select 1:30am
Maybe if Command.Group
had the ability to accept a key for the Command.Item
that should be focused/selected in the list? Then when you press enter, it selects it as the input value.
I was looking for that too!