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

Angular Material DatePicker: Allow option to show two months in the date picker #27441

Closed
ghost opened this issue Jul 12, 2023 · 3 comments
Closed
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix needs triage This issue needs to be triaged by the team

Comments

@ghost
Copy link

ghost commented Jul 12, 2023

Feature Description

This feature was requested 5 years ago so I figured it would be worth asking if circumstances have changed to be able to have the option to show two months in the date picker as requested earlier in this issue Git Hub Issue 14586.

image

I think the original requestor has provided a pretty decent description of the feature.

A couple of suggestions would be

a) It would be available both in single date picker and date range picker.
b) It would be an opt-in setting, which by default would be off so it's backward compatible.
<mat-datepicker [multimonth]="true #picker></mat-datepicker>

and

<mat-date-range-picker [multimonth]="true #picker #picker></mat-date-range-picker>

But if feedback is needed I'd be happy to provide more details.

Use Case

Most users now prefer a two month date picker which there are other options to choose from, but we've invested into the material components so it'd be nice if this was available natively.

@ghost ghost added feature This issue represents a new feature or feature request rather than a bug or bug fix needs triage This issue needs to be triaged by the team labels Jul 12, 2023
@zarend
Copy link
Contributor

zarend commented Jul 13, 2023

Duplicate of #18966

@zarend zarend marked this as a duplicate of #18966 Jul 13, 2023
@zarend zarend closed this as completed Jul 13, 2023
@zarend
Copy link
Contributor

zarend commented Jul 13, 2023

This feature request is a duplicate of #18966. The two feature requests are similar in terms of what they are asking for. Please refer to the duplicate feature request for more information.

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Aug 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix needs triage This issue needs to be triaged by the team
Projects
None yet
Development

No branches or pull requests

1 participant