diff options
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/ui/shadcn/combobox.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/ui/shadcn/combobox.tsx b/packages/ui/shadcn/combobox.tsx index 81019b10..080a3485 100644 --- a/packages/ui/shadcn/combobox.tsx +++ b/packages/ui/shadcn/combobox.tsx @@ -45,7 +45,9 @@ const ComboboxWithCreate: React.FC<ComboboxWithCreateProps> = ({ return ( <Command className={cn("group", className)}> <CommandInput - onChangeCapture={(e) => setInputValue(e.currentTarget.value)} + onChangeCapture={(e: React.ChangeEvent<HTMLInputElement>) => + setInputValue(e.currentTarget.value) + } placeholder={placeholder} value={inputValue} /> |