AboutSupportDeveloper GuideVersion 22.3.18

The base type for form fields.

interface RadioGroupField<W> {
    helperText?: string;
    key: string;
    label?: string;
    type: "radioGroup";
    validation?: Record<string, any>;
    value?: string;
    widget: W;
}

Type Parameters

Hierarchy (view full)

  • BaseField<"radioGroup", string>
    • RadioGroupField

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

Field data type.

validation?: Record<string, any>

Validation rules used to validate user input.

value?: string

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

widget: W