The base type for form fields.

Type Parameters

Hierarchy

Properties

helperText?: string

Helper text.

key: string

The property key that this field value will appear in the returned form object.

label?: string

Input label.

type: "boolean"

Field data type.

validation?: Record<string, any>

Validation rules used to validate user input.

value?: boolean

Default value for field, and where it will be written to

widget: W

Generated using TypeDoc