Type Alias: CheckboxFieldProps<T>
CheckboxFieldProps<
T> =object
Defined in: lib/forms/CheckboxField.tsx:14
Props for the CheckboxField component.
Type Parameters
T
T extends FieldConfigAtom<boolean>
The type of the field configuration atom
Properties
associated?
optionalassociated:T[]
Defined in: lib/forms/CheckboxField.tsx:28
Array of associated field configuration atoms for group behavior
boxClassName?
optionalboxClassName:string
Defined in: lib/forms/CheckboxField.tsx:26
Additional CSS classes for the checkbox box
className?
optionalclassName:string
Defined in: lib/forms/CheckboxField.tsx:16
Additional CSS classes for the container
field
field:
T
Defined in: lib/forms/CheckboxField.tsx:24
The field configuration atom
label?
optionallabel:string
Defined in: lib/forms/CheckboxField.tsx:18
Text label for the checkbox
labelClassName?
optionallabelClassName:string
Defined in: lib/forms/CheckboxField.tsx:20
Additional CSS classes for the label
labelPrepend?
optionallabelPrepend:boolean
Defined in: lib/forms/CheckboxField.tsx:22
Whether to show the label before the checkbox