Skip to content

Number

number

Description

Similar to text field but allows only numeric input

Attributes

  • default
  • $capture.label: Add a label into the field; goes at the start

Example

{
  "type": "string",
  "$capture": {
    "as": "number",
    "label": "Input number"
  },
  "$display": {},
  "title": "Number metrics"
}