Skip to content

API > NumberFieldType

Type alias: NumberFieldType

NumberFieldType: BaseField & { default: number | number[] | null; display: "text" | "slider"; format: "ANY" | "INTEGER"; max: number; min: number; placeholder: string; prefix: string; step: number; suffix: string; type: "number"; }

NumberFieldType.default

default?: number | number[] | null

NumberFieldType.display

display?: "text" | "slider"

NumberFieldType.format

format?: "ANY" | "INTEGER"

NumberFieldType.max

max?: number

NumberFieldType.min

min?: number

NumberFieldType.placeholder

placeholder?: string

NumberFieldType.prefix

prefix?: string

NumberFieldType.step

step?: number

NumberFieldType.suffix

suffix?: string

NumberFieldType.type

type: "number"

Source

fieldTypes.ts:377