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

[pickers] - selection of year and month in daterange picker (MUI X v6) #7780

Closed
2 tasks done
pabadm opened this issue Jan 31, 2023 · 1 comment
Closed
2 tasks done
Labels
component: pickers This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists

Comments

@pabadm
Copy link

pabadm commented Jan 31, 2023

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Summary 💡

Currently it is only possible with too much control over calendar as i did in my example (unmounting and mounting calendar is the best). You just have not provided any other solution.
It would be nice to add something like headerCalendar slot with handleMonthChange prop or have month picker like in datepicker.

Examples 🌈

Expected Behaviour. https://codesandbox.io/s/agitated-rgb-cuyd6z?file=/DateRangePickerTest.tsx

Motivation 🔦

No response

Order ID 💳 (optional)

No response

@pabadm pabadm added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jan 31, 2023
@pabadm pabadm changed the title [ datepickers ] - selection of year and month in daterange picker [pickers] - selection of year and month in daterange picker Jan 31, 2023
@pabadm pabadm changed the title [pickers] - selection of year and month in daterange picker [pickers] - selection of year and month in daterange picker (Mui x v6) Jan 31, 2023
@pabadm pabadm changed the title [pickers] - selection of year and month in daterange picker (Mui x v6) [pickers] - selection of year and month in daterange picker (MUI X v6) Jan 31, 2023
@flaviendelangle
Copy link
Member

flaviendelangle commented Feb 1, 2023

You did some heavy customization here !

This feature is being discussed in #4546 and taken care of in the #7071 umbrella issues.
It's one of the main ongoing topic for 2023 👍

I'll close this one to keep a single issue

As for

It would be nice to add something like headerCalendar slot

It related a lot with #6653 but for DateRangeCalendar.

@flaviendelangle flaviendelangle added duplicate This issue or pull request already exists component: pickers This is the name of the generic UI component, not the React module! and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Feb 1, 2023
@flaviendelangle flaviendelangle closed this as not planned Won't fix, can't repro, duplicate, stale Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: pickers This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants