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

Values defined in DefaultPropsProvider are ignored for Select component #44128

Closed
fdore opened this issue Oct 16, 2024 · 3 comments · Fixed by #44193
Closed

Values defined in DefaultPropsProvider are ignored for Select component #44128

fdore opened this issue Oct 16, 2024 · 3 comments · Fixed by #44193
Assignees
Labels
bug 🐛 Something doesn't work component: select This is the name of the generic UI component, not the React module!

Comments

@fdore
Copy link

fdore commented Oct 16, 2024

Steps to reproduce

Link to live example: (required)
https://codesandbox.io/p/sandbox/mui-defaultpropsprovider-select-rqhqvq

Steps:

  1. Add a DefaultPropsProvider, and set the variant for MuiSelect to standard for example
  2. Add a Select component to the app

Current behavior

The outlined variant of the Select is rendered

Expected behavior

The standard variant of the Select should be rendered

Context

No response

Your environment

npx @mui/envinfo
"@mui/material": "6.1.3",
"@emotion/react": "11.13.3",
"@emotion/styled": "11.13.0",

Search keywords: DefaultPropsProvider Select defaults

@fdore fdore added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Oct 16, 2024
@zannager zannager added the component: select This is the name of the generic UI component, not the React module! label Oct 17, 2024
@DiegoAndai DiegoAndai assigned siriwatknp and unassigned DiegoAndai Oct 17, 2024
@mnajdova mnajdova added the regression A bug, but worse label Oct 22, 2024
@siriwatknp siriwatknp added bug 🐛 Something doesn't work and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer regression A bug, but worse labels Oct 23, 2024
@oliviertassinari
Copy link
Member

oliviertassinari commented Oct 23, 2024

DefaultPropsProvider is a private API, no? It's not documented. If this is true, the reproduction is not valid.

@siriwatknp
Copy link
Member

DefaultPropsProvider is a private API, no? It's not documented. If this is true, the reproduction is not valid.

It's a public API for those who want to migrate to Pigment CSS.

Copy link

This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

Note

@fdore How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: select This is the name of the generic UI component, not the React module!
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

6 participants