Port

A whole number in range from 1 to 65535

The list of common settings for parameters is available here.

Specification

validate

  • Type: Object

  • Specifies parameter validation.

  • Available parameters:

ParameterTypeSpecification

max

number

Specifies maximum numberic value.

min

number

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

Examples

Basic Numeric Input

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

Last updated