diff --git a/app/components/combobox.tsx b/app/components/combobox.tsx index d8586bf..652d871 100644 --- a/app/components/combobox.tsx +++ b/app/components/combobox.tsx @@ -22,7 +22,9 @@ export function Combobox({ defaultText = "Select value...", placeholderText = "Search...", emptyText = "No value found.", - current, setValue + current, + setValue, + disabled = false, }: { values?: { value: string; label: string }[] emptyText?: string @@ -30,17 +32,19 @@ export function Combobox({ defaultText?: string current?: string setValue: (value: string) => void + disabled?: boolean }) { const [open, setOpen] = React.useState(false) return ( - +