mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-28 05:46:58 +02:00
feat(views): auto-highlight first result when searching in picker
This commit is contained in:
@@ -120,7 +120,7 @@ export function PropertyPicker({
|
||||
value={query}
|
||||
onChange={(e) => {
|
||||
setQuery(e.target.value);
|
||||
setHighlightedIndex(-1);
|
||||
setHighlightedIndex(0);
|
||||
onSearchChange?.(e.target.value);
|
||||
}}
|
||||
onKeyDown={handleKeyDown}
|
||||
|
||||
Reference in New Issue
Block a user