Skip to content

Conversation

@lucas-koehler
Copy link
Contributor

  • Update dev and peer dependency of @mui/x-date-pickers from v7 to v8.
  • Adapt input variant handling for picker text fields
  • Adapt picker variant handling
  • Adapt textfield input property handling
  • Fix pickers to still autoclose on selecting the smallest unit.
  • Make autoclose configurable via uischema option closeOnSelect

NOTE:
The pickers needed to be updated to handle onChange in addition to onAccept. Otherwise, the value in the open picker is not updated. This results in data updates after each date/time component selection (e.g. hours).

- Update dev and peer dependency of `@mui/x-date-pickers` from v7 to v8.
- Adapt input variant handling for picker text fields
- Adapt picker variant handling
- Adapt textfield input property handling
- Fix pickers to still autoclose on selecting the smallest unit.
- Make autoclose configurable via uischema option `closeOnSelect`

NOTE:
The pickers needed to be updated to handle onChange in addition to onAccept.
Otherwise, the value in the open picker is not updated.
This results in data updates after each date/time component selection (e.g. hours).
@netlify
Copy link

netlify bot commented Sep 23, 2025

Deploy Preview for jsonforms-examples ready!

Name Link
🔨 Latest commit 5b2b2e7
🔍 Latest deploy log https://app.netlify.com/projects/jsonforms-examples/deploys/68d2bcb01263800008120974
😎 Deploy Preview https://deploy-preview-2493--jsonforms-examples.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@lucas-koehler lucas-koehler linked an issue Sep 23, 2025 that may be closed by this pull request
@coveralls
Copy link

Coverage Status

coverage: 82.798% (+0.005%) from 82.793%
when pulling 5b2b2e7 on issues/2475-mui-date-pickers-v8
into 016f1df on master.

Copy link
Member

@sdirix sdirix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me! I tested the variants and closeOnSelect.

The only weird thing for me is the behavior when textually inputting years. The ui does not change until the full year is entered:

Image

You can see the year changes at once (i.e. after 4! key presses) while month and day react immediately

@lucas-koehler
Copy link
Contributor Author

@sdirix Thanks for the review. The year behavior is caused by the control only updating for valid values which is typically the case for entering a single digit for day or month.

@lucas-koehler lucas-koehler merged commit 5b2b2e7 into master Oct 23, 2025
11 checks passed
@lucas-koehler lucas-koehler deleted the issues/2475-mui-date-pickers-v8 branch October 23, 2025 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support MUI X date pickers v8 for react material renderers

4 participants