-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[DateRangePicker] ToolbarComponent prop documented but not implemented #4557
Comments
I really need this feature to work too for customizing the DateRangePickera bit too. I there another way at the moment to add a custom component to the DateRangePicker? My custom component would essentially be a list with pre-selected range values (last week, last month, last 3 months, last year) like we use to see with other date range widgets. |
I am also experiencing this issue. Here is a sandbox with the latest Beta Material UI Packages:
|
Thanks for the detailed example ! Here is an updated reproduction case with the new packages: https://codesandbox.io/s/date-and-time-pickers-forked-jzxwtt In #4466, I will add the toolbar to the |
Current Behavior 😯
DateRangePicker
does not render a customToolbarComponent
when it's supplied viaprops
.Expected Behavior 🤔
Expect
DateRangePicker
to support this asDatePicker
does.Steps to Reproduce 🕹
Code Sandbox Demo
https://codesandbox.io/s/blissful-cdn-zus0r?file=/src/Demo.tsx
Steps:
ToolbarComponent
to aDateRangePicker
.Context 🔦
Attempting to customise the appearance of the toolbar for a
DateRangePicker
on a mobile device.Your Environment 🌎
`npx @mui/envinfo`
The text was updated successfully, but these errors were encountered: