Open ptmoy2 opened 8 years ago
Hi @ptmoy2, sorry missed your comment earlier. Can you give me more detail on what you'd like to be able to do?
I was wondering whether calendar date values can be used on the slider instead of numbers. For example, is it possible to create a slider with a start date of 1/1/2016, and as you move the slide across the slide bar, the date advances to a preset max date of 12/31/2016? Same question for a range slider - user sets a beginning and end date; date changes between those two dates when the two slides are moved.
Well you could do this by using the formatter
function: https://github.com/seiyria/bootstrap-slider. I could see that it might be nice to have a more out of the box solution for dates as that is a common "range" in the real world. If you want to add a component which is a subclass of ui-slider
called something like date-slider
I'd be happy to accept the PR.
Is it possible to use dates as values for the different sliders?