Skip to main content

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?

optional associated: T[]

Defined in: lib/forms/CheckboxField.tsx:28

Array of associated field configuration atoms for group behavior


boxClassName?

optional boxClassName: string

Defined in: lib/forms/CheckboxField.tsx:26

Additional CSS classes for the checkbox box


className?

optional className: 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?

optional label: string

Defined in: lib/forms/CheckboxField.tsx:18

Text label for the checkbox


labelClassName?

optional labelClassName: string

Defined in: lib/forms/CheckboxField.tsx:20

Additional CSS classes for the label


labelPrepend?

optional labelPrepend: boolean

Defined in: lib/forms/CheckboxField.tsx:22

Whether to show the label before the checkbox