-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[Slider] Add Range input #779
Comments
Are there any plans on implementing this feature in the near future? |
I'm also interested in this feature. Range sliders are very useful as filter criteria. |
Me too! Edit: I'd propose an implementation of that if only it was possible to get the new value from event |
I couldn't believe this component did not exists. Would be most welcome if it was available. |
Please add a range support to slider. |
For now you can forget it, to make it work properly someone would need separate the SliderHandle and the SliderBar from the current Slider implementation.. This is an one to one api, not one-to-many.. This would require a lot of work. So I guess, it's simpler to use a component which can do it already like this one: https://github.com/davidchin/react-input-range |
I don't agree, and I almost made it. I only need |
Is your implementation working? Is it going to be contributed to the material-ui core version? |
Any news on this ? Is it planned for "next" ? |
I could also really use a this type of input. @jdelafon - what's the state of your control? Is it available for wider use? |
Well #4926 is still open, and the related pull request not merged yet apparently. At the time I gave up on it because of that, and also simply because actually two separate sliders were better for my use-case. |
FYI, I use (and like) this one: https://github.com/react-component/slider |
I could really use this as well. The system I use does not easily support rc-slider, the slider mentioned by @oallouch. Edit: looks like its in v1. Looking forward to that version. |
not good better have a properly set component than trying to hack around it |
@meteorplus What are you calling "properly set"? "Not contributed by the community"? |
This comment has been minimized.
This comment has been minimized.
rc-slider has a very nice feature set. Can we take inspiration from it? |
@bhack thank you for this tip! I've decided to use react-slider, and it's working just fine until now. |
@oliviertassinari Since we have a slider, should this issue be closed? |
@adeelibr we don't have the from to feature. |
I'd go for a more generic solution, without any additional constraints:
and:
Then it's possible to have multiple values, and it's up to the user / dev to apply constraints if they wish. |
This comment has been minimized.
This comment has been minimized.
Wow. +200000000 |
@cyberdude Moving the Slider to the core and implementing range will be one of our top priorities after the release of Material-UI v4. |
I might be missing something, but I don't see why is this closed. In the documentation, there is no example of Slider as a form element which is exactly what this issue is about. There is only an example of a Slider with input, which is irrelevant in this case. Furthermore, you can't pass |
@niksajanjic Wrong issue, this one is about: |
Hi!
I found slider, but I did not see how to make a from-to value selection. Does the material-ui support this behavior?
Thanks for the excellent library!
The text was updated successfully, but these errors were encountered: