Skip to content
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

fix: Fixes broken playground form display and small mui bug #3583

Merged
merged 1 commit into from
Apr 5, 2023

Conversation

heath-freenome
Copy link
Member

@heath-freenome heath-freenome commented Apr 5, 2023

Reasons for making this change

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

Checklist

  • I'm updating documentation
  • I'm adding or updating code
    • I've added and/or updated tests. I've run npm run test:update to update snapshots, if needed.
    • I've updated docs if needed
    • I've updated the changelog with a description of the PR
  • I'm adding a new feature
    • I've updated the playground with an example use of the feature

Fixes rjsf-team#3576 and rjsf-team#3579 by only passing `templates` with non-`undefined` values
Fixes rjsf-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
@heath-freenome heath-freenome merged commit 3db058f into rjsf-team:main Apr 5, 2023
@heath-freenome heath-freenome deleted the fix-3576-3578-3579 branch April 5, 2023 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MUI 5 Input border is interrupting with label playground is completely broken
2 participants