Port

A whole number with a value from 1 to 65535

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": "myPort",
    "type": "port",
    "label": "My Port",
    "nested": "rpc://getNestedFields"
}

Example

Basic numeric input

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

Last updated