-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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] Remove reference of fields having dependant section behavior #8189
Comments
Thank you for opening this issue. We'll update the blog entry to avoid this information discrepancy. 😉 |
Ah that's a shame, it was something we were hoping to use. One of the complaints with our current usage of the native Chrome date/time picker is that it doesn't rollover the dates, as users expect it behave like a calendar. Is there a possibility this could ever return via an option? Other date/time pickers (e.g. Kendo UI) have this functionality https://demos.telerik.com/kendo-ui/datetimepicker/index |
We did consider it initially, but went for the independent approach, because of the mentioned reasons as well as the fact that it allowed us to clean up the code quite a bit. The fields have quite a lot of ways to change a value (number keys, arrow navigation, Page Up, PageDown, Home, End). Because of this reason, we feel that the drawbacks that having this behavior, would bring are not worth it. |
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example: https://mui.com/x/react-date-pickers/date-time-picker/#basic-usage (direct link: https://codesandbox.io/s/1m7pyd?file=/demo.tsx)
Steps:
Current behavior 😯
The date "resets" back to the 01st of February instead of rolling over to the 01st of March
Expected behavior 🤔
The date should roll over to the 01st of March
Context 🔦
The announcement for the v6 date/time pickers demonstrates this date/time "rollover" functionality. If you enter the same date into the demo field as in the reproduction steps and hit the Up arrow key the date changes to 01st March, instead of resetting back to the 01st February.
https://mui.com/blog/v6-beta-pickers/#enhanced-keyboard-usability
https://codesandbox.io/s/date-field-demo-pb87v0?from-embed=&file=/demo.tsx:32-112
The text was updated successfully, but these errors were encountered: