Options
All
  • Public
  • Public/Protected
  • All
Menu

The base type for form fields.

Type parameters

  • T = unknown

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: "string" | "number"

Field data type.

Optional validation

validation: Record<string, any>

Validation rules used to validate user input.

Optional value

value: T

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

Generated using TypeDoc