Closed sampatkumar-mca17 closed 4 months ago
We do have a date range picker. See https://material.angular.io/components/datepicker/overview#date-range-selection
Oh, sorry I just noticed, is it possible to add options to have custom ranges and allow labelling to these custom ranges?
I'm not sure exactly what a custom range means in this case, but we support the ability to customize how the date range selection behaves: https://material.angular.io/components/datepicker/overview#customizing-the-date-selection-logic
Closing since there hasn't been any follow-up in a while.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Which @angular/* package(s) are relevant/related to the feature request?
Angular/material
Description
We have a requirement of date range picker for our project, but angular material only has date picker, it's on us to either do the workaround on that or to choose a 3rd party libraries (paid) , it'd really great to have a mat date range picker with support for adding custom ranges like today, yesterday, last 3months, last 6 months, etc
Proposed solution
Please add daterangepicker component in angular material
Alternatives considered
Paid 3rd party libraries or finding a workaround on existing darepicker component which is at max going to be kind of hack and wouldn't provide permanent solution