Fields
Number Field
An input for storing numeric values
An input field for storing numeric values (integers or floats).
Usage
{
type: 'number',
name: 'count',
label: 'Count',
}Options
| Property | Type | Description |
|---|---|---|
type | 'number' | Required. |
name | string | Field identifier. |
label | string | Display label in the editor. |
list | boolean | Store multiple values as an array. |
Type Signature
interface NumberField {
type: 'number'
name: string
label?: string
list?: boolean
}