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

[DatePicker] Include range selector #7574

Closed
andykais opened this issue Jul 27, 2017 · 2 comments
Closed

[DatePicker] Include range selector #7574

andykais opened this issue Jul 27, 2017 · 2 comments
Labels
new feature New feature or request

Comments

@andykais
Copy link

andykais commented Jul 27, 2017

This is a hopeful suggestion for the v1 Date Picker component since it has yet to be completed.
The v0 date picker suggests suggests using two calendars to pick a range of dates, however this becomes tedious when the calendar is being used for a 'when is good' scenario as opposed to traditional date selection. Eg. the user does not want to select weekends or fridays but wants to select 3 weeks in a row.

Description

Add an option in the date picker to allow the user to drag from one date across any other in the current view. In addition, allow the user to keep the calendar dialog open so they can drag multiple dates areas across the window.

Images & references

react-big-calendar has a good example of what I mean under selectable where the user can drag across several dates and highlight the areas selected. I can get away with react-big-calendar but would prefer if the functionality were here to as to make staying within the spec easier.
image

This feature request is outside the current spec, but it would only extend the functionality, and the styling would not change much.

Versions

  • Material-UI: v1
  • React: 15.4.1
  • Browser: Google Chrome 57.0.2987.133
@oliviertassinari oliviertassinari changed the title [Date Picker] include range selector [DatePicker] Include range selector Jul 27, 2017
@oliviertassinari oliviertassinari added the new feature New feature or request label Jul 27, 2017
@oliviertassinari
Copy link
Member

oliviertassinari commented Jul 27, 2017

That feature sounds to specific, I don't think that we should be implementing it, instead, we should have an API allowing users to build in on their side. Thanks for raising that issue, it's good to know what people want to build with the DatePicker.

@oliviertassinari
Copy link
Member

I have added a composable section in #4787 so we don't forget that issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants