Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Range Slider #11

Open
ptmoy2 opened this issue Dec 5, 2015 · 3 comments
Open

Range Slider #11

ptmoy2 opened this issue Dec 5, 2015 · 3 comments

Comments

@ptmoy2
Copy link

ptmoy2 commented Dec 5, 2015

Is it possible to use dates as values for the different sliders?

@yankeeinlondon
Copy link
Member

Hi @ptmoy2, sorry missed your comment earlier. Can you give me more detail on what you'd like to be able to do?

@ptmoy2
Copy link
Author

ptmoy2 commented Jan 1, 2016

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.

@yankeeinlondon
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants