-
-
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] Reference Date does not set the right day #12058
Comments
@3pleFly I can confirm the problem exists and only on the v6 release, it seems fixed in the v7 pre-release. |
yahoo! I may update to v7 in the future, for now i'll live with it.. Looking forward :) |
Fixed by #12136. |
How did we do @3pleFly? |
Steps to reproduce
Link to live example: https://stackblitz.com/edit/react-sgimxs-pcufiq?file=Demo.tsx
Steps:
Current behavior
Date picker uses the correct year and month, but the day is set to the last day of the month.
Expected behavior
When reference date is set, then date picker opens on the exact date provided.
Context
This is required in a use case where the value of a date picker is empty (Null). And you need the date picker component to open on a specific day. Currently it prompts the correct month and year, but the day is needed too.
Your environment
npx @mui/envinfo
Search keywords: referenceDate
The text was updated successfully, but these errors were encountered: