AboutSupportDeveloper GuideVersion 20.0.5

Number field within a form.

Type Parameters

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

Field data type.

validation?: Partial<{
    lessThan: ValidationEntry<number>;
    max: ValidationEntry<number>;
    min: ValidationEntry<number>;
    moreThan: ValidationEntry<number>;
    negative: ValidationEntry<any>;
    positive: ValidationEntry<any>;
    required: ValidationEntry<any>;
}>

Validation rules used to validate user input.

Type declaration

value?: number

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

widget: W