Number

A number

Specification

validate

  • Type: Object

  • Specifies parameter validation.

  • Available parameters:

Parameter
Type
Specification

max

number

Specifies maximum numeric value.

min

number

Specifies minimum numeric value.

nested

  • Available types:

    Type
    Specification

    array

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

    string

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

    object

    Provides a detailed specification of nested parameters.

Usage of nested fields:

{
    "name": "myNumber",
    "type": "number",
    "label": "My Number",
    "nested": "rpc://getNestedFields"
}

Examples

Basic Numeric Input

For more examples, you may visit the Integer, Uinteger specification.

Last updated