☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

step

Table of contents

Description:

This key defines a number that specifies the granularity that the value must adhere to, or the special value any, which allows any decimal value between max and min.

Appears in:
└── _inputs
    └── *
        ├── Number Input
        │   └── options
        │       └── step
        └── Range Input
            └── options
                └── step
Type:
number
Examples:

In this example, we have configured a Range Input to use a step value of 5.

Copied to clipboard
_inputs:
  rating:
    type: range
    options:
      min: 0
      max: 100
      step: 5
{
  "_inputs": {
    "rating": {
      "type": "range",
      "options": {
        "min": 0,
        "max": 100,
        "step": 5
      }
    }
  }
}
Open in a new tab