Number

A number that can include a decimal or fractional parts

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 the list of nested parameters.

object

Provides a detailed specification of nested parameters.

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

Example

Basic numeric input

For more examples, see the Integer/Uinteger parameter specification.

Last updated