Number

A number

The list of common settings for parameters is available here.

Specification

validate

  • Type: Object

  • Specifies parameter validation.

  • Available parameters:

ParameterTypeSpecification

max

number

Specifies maximum numeric value.

min

number

Specifies minimum numeric value.

nested

  • Available types:

    TypeSpecification

    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