Options
All
  • Public
  • Public/Protected
  • All
Menu

The base type for form fields.

Type parameters

Hierarchy

Index

Properties

key

key: string

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

Optional label

label?: string

Input label.

type

type: T

Field data type.

Optional validation

validation?: Record<string, any>

Validation rules used to validate user input.

Optional value

value?: D

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

Generated using TypeDoc