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

Support MUI v6 #4283

Closed
1 task done
glebcha opened this issue Aug 29, 2024 · 4 comments · Fixed by #4294
Closed
1 task done

Support MUI v6 #4283

glebcha opened this issue Aug 29, 2024 · 4 comments · Fixed by #4294
Assignees
Labels
feature Is a feature request

Comments

@glebcha
Copy link

glebcha commented Aug 29, 2024

Prerequisites

What theme are you using?

mui

What is your question?

MUI team released v6 with some breaking changes that potentially require review.
Basic scenario will require an update of peer dependencies with the latest MUI v6 packages.

Workaround for npm is to override peer dependencies in package.json:

"overrides": {
    "@rjsf/mui": {
      "@mui/material": "^6.0.1",
      "@mui/icons-material": "^6.0.1"
    }
  }
@glebcha glebcha added needs triage Initial label given, to be assigned correct labels and assigned question labels Aug 29, 2024
@heath-freenome heath-freenome added feature Is a feature request and removed question needs triage Initial label given, to be assigned correct labels and assigned labels Aug 30, 2024
@heath-freenome
Copy link
Member

heath-freenome commented Aug 30, 2024

@glebcha Since my company will be upgrading to Mui v6 I will likely be adding that theme here as well since we use @rjsf/mui. Hopefully the breaking changes are such that we can tweak the code and add v6 to the peer dependencies. otherwise we'll need a new theme

@heath-freenome heath-freenome changed the title Any plans to support MUI v6? Support MUI v6 Aug 30, 2024
@pnaik07
Copy link

pnaik07 commented Sep 9, 2024

Currently, we use MUIv5. We are planning upgrade the entire UI for v6. Most of our code is v6 compatible. However, If we install @mui v6, rjsf is breaking. Is there a better fix to this?

@heath-freenome
Copy link
Member

heath-freenome commented Sep 10, 2024

Currently, we use MUIv5. We are planning upgrade the entire UI for v6. Most of our code is v6 compatible. However, If we install @mui v6, rjsf is breaking. Is there a better fix to this?

@pnaik07 How is exactly is it breaking?

@heath-freenome
Copy link
Member

@pnaik07 Also, with the release of 5.21.0 we've added support for MUI v6, please try it out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Is a feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants