Fields
Slider Field
The Slider Field allows for selecting a value from a range of values using a slider.
Basic usage
Adds a Slider
field to the fields of an action. The min
and max
values define the range of values that can be selected. The step
value defines the increment value for the slider.
Result
The field will be displayed as a slider field as below:
The resultant data will be available in the stubpost.data
as:
This can be substituted with eg. ~~stubpost.data.temperature
where required.
Parameters
params.max
required
number
A number that defines the maximum value that can be selected. params.min
required
number
A number that defines the minimum value that can be selected. params.step
required
number
A number that defines the increment value for the slider. See fields for common parameters.