react-jsonschema-form
react-jsonschema-form copied to clipboard
MUI rendered is missing any control over the fields render. Other ren…
Other renders have 'className' variable to control the style of the forms fields. Toward this end I added 'fieldFlexWidth' uiSchema varaible to control the flex grid withs in MUI ObjectFieldTemplate.tsx instead of the hard coded '12'. If variable is not the the code defaults to '12' as before and code behaves exactly as before.
Reasons for making this change
Other renders have 'className' variable to control the style of the forms fields. MUI rendered has no way to control the style. And in order to be able to render form in multiple columns #2108 and have some responsiveness to UI. Change is minimal and non volatile. When not used it has no effect on the behavior and code defaults to previously hard coded value.
Checklist
- [ ] I'm updating documentation
- [ ] I've checked the rendering of the Markdown text I've added
- [x] I'm adding or updating code
- [x] I'm adding a new feature
- [ ] I've updated the playground with an example use of the feature
Linked to issue :https://github.com/rjsf-team/react-jsonschema-form/issues/2108
This issue has been automatically marked as possibly close because it has not had recent activity. It will be closed if no further activity occurs. Please leave a comment if this is still an issue for you. Thank you.
This issue was closed because of lack of recent activity. Reopen if you still need assistance.