You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixesrjsf-team#3576 and rjsf-team#3579 by only passing `templates` with non-`undefined` values
Fixesrjsf-team#3578 by using `TextField` to render the label key input value
- Updated `@rjsf/material-ui` and `@rjsf/mui` to use the `TextField` as the input for the label key value rather than attempting to cobble one togther
- Updated the snapshots accordingly
- Updated the `Playground` component to only pass `templates` with values that aren't undefined to the main `Form`
- Updated the `CHANGELOG.md` accordingly
Fixes#3576 and #3579 by only passing `templates` with non-`undefined` values
Fixes#3578 by using `TextField` to render the label key input value
- Updated `@rjsf/material-ui` and `@rjsf/mui` to use the `TextField` as the input for the label key value rather than attempting to cobble one togther
- Updated the snapshots accordingly
- Updated the `Playground` component to only pass `templates` with values that aren't undefined to the main `Form`
- Updated the `CHANGELOG.md` accordingly
Prerequisites
What theme are you using?
material-ui
Version
5.4
Current Behavior
Input with material-ui-5 is interrupting with label, it happen only on the first input, every other input have proper border with label.
Please see screenshot below:
Expected Behavior
Standard MUI 5 input for all input fields
Steps To Reproduce
Open Playground:
https://rjsf.netlify.app/
Paste JsonSchema:
{
"title": "Form with additional properties.",
"description": "Labels for 'key' of additional properties are not displayed properly in material-ui-5 theme.",
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {
"withLabelOk": {
"type": "string",
"title": "Label OK"
}
}
}
click on first input
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: