Options
All
  • Public
  • Public/Protected
  • All
Menu

Number field within a form.

Type Parameters

Hierarchy

Index

Properties

key: string

The property key that this field value will appear in the returned 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.

value?: number

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

widget: W

Generated using TypeDoc