huntabyte / cmdk-sv

cmdk, but for Svelte ✨
https://cmdk-sv.com
MIT License
410 stars 17 forks source link

Way to change the default "selected" item when opening? #53

Closed saturnonearth closed 5 months ago

saturnonearth commented 5 months ago

Is there a way to select the default item that is "highlighted" when opening the command, rather than the first item in the list?

huntabyte commented 5 months ago

Does passing value to the Command.Root not produce your desired results?

saturnonearth commented 5 months ago

Yes that's perfect thanks!