We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dd20b7 commit 63aecafCopy full SHA for 63aecaf
packages/shadcn/src/components/ui/autoform/components/BooleanField.tsx
@@ -8,7 +8,6 @@ export const BooleanField: React.FC<AutoFormFieldProps> = ({
8
label,
9
id,
10
inputProps,
11
- value
12
}) => (
13
<div className="flex items-center space-x-2">
14
<Checkbox
@@ -23,7 +22,7 @@ export const BooleanField: React.FC<AutoFormFieldProps> = ({
23
22
};
24
inputProps.onChange(event);
25
}}
26
- checked={value}
+ checked={inputProps.value}
27
/>
28
<Label htmlFor={id}>
29
{label}
0 commit comments