Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
289 stars 76 forks source link

Enhancement: calcite-slider - custom tick label formatters #2584

Closed hccampos closed 6 months ago

hccampos commented 3 years ago

Description

For certain use cases the default tick labels don't work well. For example, one may want to display textual labels rather than numerical ones.

It would be great to be able to format slider tick labels. This is already possible in the JS API Slider widget by using a labelFormatFunction: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#labelFormatFunction

Which Component

Example Use Case

SVCH

richiecarmichael commented 1 year ago

For certain use cases the default tick labels don't work well.

I would argue that the default tick labels don't work well for most use cases. For example:

This would be really useful for #46032.

ubatsukh commented 1 year ago

@driskull as we discussed yesterday this is a high priority issue for us! MV needs Range Slider for multidimensional image services and the API implementation cannot proceed until the calcite slider has support for this.

jcfranco commented 6 months ago

Closing in favor of https://github.com/Esri/calcite-design-system/issues/4004.