AboutSupportDeveloper GuideVersion 20.1.5

Interface BaseField<T, D>

The base type for form fields.

Type Parameters

  • T extends keyof typeof FieldType

  • D = unknown

Hierarchy

Properties

helperText?: string

Helper text.

key: string

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

label?: string

Input label.

type: T

Field data type.

validation?: Record<string, any>

Validation rules used to validate user input.

value?: D

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