Long - form item

Contents

A simple input for storing integer numbers.

Appearance

Number input showing a Long input with a value out of scope and an error saying value cannot be greater than 10
Figure 1. Single occurence with validation error
Two instances of the Long input
Figure 2. Multiple occurrences

Usage

- type: "Long"
  name: "my_long"
  label: "My Long"
  default: 42  (1)

- type: "Long"
  name: "degrees"
  label: "Degrees"
  min: 0  (2)
  max: 360  (3)
1 default can be any Integer number
2 min optionally specifies the minimum allowed value
3 max optionally specifies the maximum allowed value

Output

Value type: Long — not included in _alltext

{
  "my_long": 42
}
Multiple occurrences
{
  "my_long": [
    42,
    99
  ]
}

Contents

Contents