fix: update keywords handling in DropdownItem component

This commit is contained in:
ByteAtATime 2025-06-15 11:40:32 -07:00
parent a59b31b5c4
commit 4315e864c0

View file

@ -28,7 +28,7 @@
{#if componentProps && dropdownContext}
<Command.Item
value={componentProps.value}
keywords={componentProps.keywords}
keywords={[...(componentProps.keywords ?? []), componentProps.title]}
onSelect={() => dropdownContext.onSelect(componentProps.value)}
>
<CheckIcon