Integer, Uinteger

A whole number or positive whole number

Specification

validate

  • Type: Object

  • Specifies parameter validation

Available parameters:

Parameter
Type
Specification

max

number

Specifies the maximum numeric value.

min

number

Specifies the minimum numeric value.

nested

Available types:

Type
Specification

array

Provides an array of nested parameters that are shown when the value of the parameter is set (value is not empty)

string

Provides the URL address of an RPC to load a list of nested parameters.

object

Provides a detailed specification of nested parameters.

{
    "name": "myInteger",
    "type": "integer",
    "label": "My Integer",
    "nested": "rpc://getNestedFields"
}

Examples

Basic integer and uinteger input

Set minimum and maximum value

Last updated