Open deftdawg opened 4 years ago
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.
Find more details about Angular's feature request process in our documentation.
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.
We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.
You can find more details about the feature request process in our documentation.
The requirement for 20 votes on something that was opened 2 years ago seems pretty impossible. I think this feature is a still a good idea even though I've not been on the project that needed it for over a year myself.
Feature Description
I would like to use date picker to allow a user to pick any number of days from 1-7, but no more than 7.
This could be implemented by adding a minimum (default: 1) and maximum (default: unlimited) duration values to the DateRange type.
If the minimum duration is not default:
If the maximum duration is not default:
Example with (min 3 days, max 7 days) might look like something this:
(this is only to illustrate, I'm not a UI designer or anything)
Use Case
Currently, I must have the user use a dropdown to pick their duration first (which informs a MatDateRangeSelectionStrategy), and then use the date picker to select a start date.
Would very much like to get rid of the dropdown.