Type key: slider. Renders a horizontal slider between slider_minmax.min and slider_minmax.max, moving in steps of slider_step. In the editor this is the Slider block.
A question: the question rules apply, and it can sit in a layout row column.
Meta fields
Section titled “Meta fields”The meta fields of this node type are listed in the request body of Replace the draft document, under pages › nodes, in the slider tab.
Example
Section titled “Example”{ "public_id": "nSld", "sort_order": 1, "type": "slider", "meta": { "question": "<span>How many meetups have you attended?</span>", "slider_minmax": { "min": 0, "max": 10 }, "slider_step": 1, "validation": { "required": false } }}Defaults and rules
Section titled “Defaults and rules”- The defaults are
slider_step: 1,slider_minmax: { "min": 0, "max": 100 }, andslider_show_value: "hover". slider_minmax.minandslider_minmax.maxaccept-1000to1000;slider_stepaccepts0.0001to100.slider_show_valuesets when the chosen number is displayed:none,hover, oralways.default_valueis a number; when the form renders it is clamped into the range.