Skip to content

Commit

Permalink
fix(web): ensure label is always included in search keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
Eliezer Steinbock committed Jan 6, 2026
1 parent 35b5c2e commit bca48ba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/web/components/Combobox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ export function Combobox(props: {
<CommandItem
key={options.value}
value={options.value}
keywords={options.keywords ?? [options.label]}
keywords={
options.keywords
? [...options.keywords, options.label]
: [options.label]
}
onSelect={(currentValue) => {
onChangeValue(currentValue === value ? "" : currentValue);
setOpen(false);
Expand Down

0 comments on commit bca48ba

Please sign in to comment.