Skip to main content

Date slider

The slider component allows you to get a date from a range of dates.

Date slider API

The following section details Date slider component's specific settings. For more details on the App editor, check the dedicated documentation or the App editor Quickstart:

Controls

This component can be controlled by frontend scripts using these functions:

NameParametersDescriptionExample
setValueid: string, value: anyManually set or force the value of a component.setValue(id: 'a', value: 17)

Date slider configuration

NameTypeConnectableTemplatableDefaultDescription
minDatefalsefalseundefinedThe minimum date of the slider.
maxDatefalsefalseundefinedThe maximum date of the slider.
Default ValueDatefalsefalseundefinedThe default value of the slider.
Stepnumberfalsefalse1The step of the slider in days.
VerticalbooleanfalsefalsefalseThe orientation of the slider.
DisabledbooleanfalsefalsefalseThe state of the slider.
Output formatstringfalsefalsefalseThe date format of the output. See date-fns format for more information.

Outputs

NameTypeDescription
resultDateThe slider value.