Skip to content

[MultiSelect][base] Prevent the renderValue prop from being propagated to the DOM #34698

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

Merged

Conversation

michaldudak
Copy link
Member

When a renderValue prop is used on a MultiSelectUnstyled, it gets propagated to the DOM causing console warnings. This PR fixes this problem.

@michaldudak michaldudak added bug 🐛 Something doesn't work component: select This is the name of the generic UI component, not the React module! package: base-ui Specific to @mui/base labels Oct 10, 2022
@michaldudak michaldudak requested a review from mnajdova as a code owner October 10, 2022 11:39
@mui-bot
Copy link

mui-bot commented Oct 10, 2022

Details of bundle changes

@material-ui/unstyled: parsed: +0.01% , gzip: -0.36% 😍
@mui/material-next: parsed: 0.00% 😍, gzip: -0.17% 😍

Generated by 🚫 dangerJS against ad2232a

@michaldudak michaldudak merged commit 6f46067 into mui:master Oct 13, 2022
@michaldudak michaldudak deleted the selectUnstyled-renderValue-on-dom branch October 13, 2022 07:37
alexfauquette pushed a commit to alexfauquette/material-ui that referenced this pull request Oct 14, 2022
daniel-rabe pushed a commit to daniel-rabe/material-ui that referenced this pull request Nov 29, 2022
feliperli pushed a commit to jesrodri/material-ui that referenced this pull request Dec 6, 2022
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! package: base-ui Specific to @mui/base
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants