-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Material UI Select widget label always shrinked #3369
Comments
@ValYouW Yes, any help is encouraged! If you do fix it, please also update the |
ok. I have forked the repo and trying to build
|
Interesting that you are seeing that when others have not. What version of node are you running. Also, we are removing the |
I'm still on node 14 (old projects that I need to support). Weird indeed... |
Just an update: After running |
The
SelectWidget
always uses a shrinked label:https://github.com/rjsf-team/react-jsonschema-form/blob/v5.0.0-beta.16/packages/material-ui/src/SelectWidget/SelectWidget.tsx#L67
The
shrink
property should be dependent on the current value, whether it is empty or notI can provide a PR if it make sense.
The text was updated successfully, but these errors were encountered: