AboutSupportDeveloper GuideVersion 15.0.11

Interface BaseField<T, D>

The base type for form fields.

Type Parameters

  • T extends keyof typeof FieldType

  • D = unknown

Hierarchy

Properties

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