-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[Select] Accept non-component children #33530
[Select] Accept non-component children #33530
Conversation
|
Hi @michaldudak, thanks for reviewing the PR in a short time, I appreciate that and I'm sorry for being late, the changes are done! thanks! |
Could you please rebase/merge the latest master? This should fix argos. |
…handle-no-react-elements
Hi @michaldudak thanks for the review, the changes are addressed! |
@@ -1,22 +1,22 @@ | |||
import * as React from 'react'; | |||
import Divider from '@mui/material/Divider'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert the change of import order. It's not related to this PR. We usually import react
first, then external packages, and then @mui-scoped package.
Signed-off-by: Marija Najdova <mnajdova@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pushed some cleanup commits to revert the unnecessary changes. The logic & test-case look great. Thanks @boutahlilsoufiane 👌
Hi @mnajdova, I appreciate your help. |
Fix #32253.
This fixes the problem of conditional rendering on the options with
""
or passing no React element option to Select component!