Slider
A component that allows selecting numeric values using a slider.

✅ When to use:
When you want to allow entering any exact amount in the text field (e.g. loan amount of 5200 PLN), regardless of the slider step (e.g. 500 PLN).
When you need to visually limit the selection range without changing the visible scale – the properties
minBlockValueandmaxBlockValueallow dynamic slider blocking (e.g. based on the client's creditworthiness, the form limits the range to 5000 PLN, even though the maximum amount offered by the bank is 10,000 PLN).
❌ When not to use:
When the process does not allow intermediate values to be used (e.g. the application allows only specific values, such as the number of installments). Use: Step Slider.
Component properties
Eximee Designer property
Attribute name in the Source
Description
Step by which the value on the slider can be set (section Basic properties)
step
Value increment, i.e. the step by which the value on the slider can be set (default value 100).
Slider initial value (section Basic properties)
startValue
Initial value of the slider (empty by default). It can be populated from a service.
Minimum displayed slider value (section Basic properties)
minValue
Minimum slider value (default value 0). It can be populated from a service.
Maximum displayed slider value (section Basic properties)
maxValue
Maximum slider value (default value 1000). It can be populated from a service.
Minimum possible value (section Basic properties)
minBlockValue
Minimum beyond which a value cannot be selected (default value 0). It can be populated from a service.
Maximum possible value (section Basic properties)
maxBlockValue
Maximum beyond which a value cannot be selected (default value 1000). It can be populated from a service.
Suggested value (section Basic properties)
suggestedValue
Suggested value (e.g. in the case of a revolving limit, the amount of the limit suggested by the bank). It can be populated from a service. Feature availability depends on the license and may not be available in all deployments.
Suffix of the minimum and maximum slider value label (section Other)
legendSuffix
Value "appended" to the label of the minimum and maximum slider value. It can be populated from a service. Feature availability depends on the license and may not be available in all deployments.
Predicted slider value on hover over the axis (section Other)
showPredictionTooltip
Showing the projected slider value when hovering over the slider axis (default value "true"). Feature availability depends on the license and may not be available in all deployments.
Tooltip presentation of the value indicated by the slider (section Other)
showTooltip
Showing the value indicated by the slider (default value "true"). Feature availability depends on the license and may not be available in all deployments.
Formatter of the value displayed in the text field
textInputFormatter
Formatter of the value displayed in the slider's text field. Feature availability depends on the license and may not be available in all deployments.
Text input suffix
textInputSuffix
Value "appended" to the end of the slider's text field. It can be populated from a service. Feature availability depends on the license and may not be available in all deployments.
Description displayed after clicking the text field
descriptionPopupText
Description displayed after clicking the slider's text field. Feature available in mobile and native channels.
Message for exceeding the minimum value
minValueSuggest
Text displayed under the slider's text field after exceeding the minimum value. It should be assigned in the tab Translations to the key GesSingleSlider1.minValueSuggest. The availability of this functionality depends on the license and may not be available in all deployments.
Message for exceeding the maximum value
maxValueSuggest
Text displayed under the slider's text field after exceeding the maximum value. It should be assigned in the tab Translations to the key GesSingleSlider1.maxValueSuggest. The availability of this functionality depends on the license and may not be available in all deployments.
Synchronization of the slider state and the value entered in the text field
separatedSliderValue
Controls synchronization of the slider state and the value entered in the input. When separatedSliderValue=true, the minBlockValue and maxBlockValue values are not respected. Feature availability depends on the license and may not be available in all deployments.
IMPORTANT — for the Slider, by default the maxValue and maxBlockValue values should match, unless they are intentionally meant to differ (then the Slider value will be limited to min (maxBlockValue, maxValue), so the upper limit will be the smaller of these values). Similarly for the minValue and minBlockValue values.
In the Slider component (in the properties), it is not possible to set the initial/minimum/maximum value to a type other than integer.
More information about component properties: Common component properties
Copying the slider value to the Text Field and vice versa
If the Slider value is to be copied to the Text Field component, that component must listen to the Slider, and the value will be copied either by indicating the slider in the Data source from another field text component, or a special service will be set for the Text Field (e.g. EchoService).
Also, the Slider value can be set based on the number entered into the Text Field component. To do this, the Slider should listen to the TextField and indicate this text field in the Slider's property Data source from another field Slider.
Slider with sample properties

Specific appearance of the Slider
In some themes the text field is already integrated with the slider.


Component state information
Information about the current value of a given component property, which can then be used on the form, e.g. to populate another field with the value of that property, can be obtained using the construct COMPONENT_ID$PROPERTY_NAME
For the slider, the following property can be retrieved:
sliderValue
Value marked on the slider. If separatedSliderValue is set to true, it may differ from the component value.
Example validator for the Slider
The validator displays a hint for the Slider in specific situations.
When connecting the validator below, you should use the parameter insuranceComponentId enter the id of the component related to insurance (e.g. the checkbox controlling enabling/disabling insurance) and as sliderId provide the id of the Slider whose amounts we want to control. If the listed components are not embedded directly in the application, then provide the full embedding path, i.e. the id of the composite component containing these components and every parent composite component.
Last updated
Was this helpful?
