fix: select component doesn't filter items

This commit is contained in:
Victor Oliva
2025-06-30 13:03:48 +02:00
parent 5944dc3e0a
commit 80793d7a80
+1 -1
View File
@@ -93,7 +93,7 @@ export const SearchableSelect = <T,>({
</Button>
</PopoverTrigger>
<PopoverContent className={twMerge("w-[200px] p-0", contentClassName)}>
<Command shouldFilter={false}>
<Command shouldFilter={!allowCustomValue}>
<CommandInput placeholder="Filter…" onValueChange={setFilterValue} />
<CommandList>
<CommandGroup>