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

Checkbox doesn't support descriptions for material-ui / bootstrap-4 #2203

Closed
2 tasks done
gaitat opened this issue Jan 22, 2021 · 5 comments
Closed
2 tasks done

Checkbox doesn't support descriptions for material-ui / bootstrap-4 #2203

gaitat opened this issue Jan 22, 2021 · 5 comments
Labels
bootstrap-4 bootstrap-4 related theme issue bug material-ui material-ui related theme issue possibly close To confirm if this issue can be closed

Comments

@gaitat
Copy link

gaitat commented Jan 22, 2021

Prerequisites

  • I have read the documentation;
  • In the case of a bug report, I understand that providing a SSCCE example is tremendously useful to the maintainers.

Description

The description of the the boolean field widget is missing when the theme is material-ui and bootstrap-4

Steps to Reproduce

  1. Go to the playground https://rjsf-team.github.io/react-jsonschema-form/
  2. Select the Widgets from the top row and observe the boolean field on the right when the default theme is selected. The top widget (checkbox) has a visible description of This is the checkbox-description.
  3. If you select the material-ui or bootstrap-4 theme the description disappears for the checkbox widget. The description is still there for the radio widget and the select widget.
  4. Is there a way to bring it back?

Expected behavior

I expect to see (somewhere) the description of the boolean field widget

Actual behavior

The description disappears for the checkbox widget

Version

These are the packages that I have installed:
"@rjsf/core": "2.4.1",
"react": "16.14.0",
"react-icons": "4.1.0",
"react-dom": "16.14.0",
"react-bootstrap": "1.4.3",
"@rjsf/bootstrap-4": "2.4.1",
"@material-ui/core": "4.11.2",
"@material-ui/icons": "4.11.2",
"@rjsf/material-ui": "2.4.1",

@gaitat gaitat changed the title Descirption of widget for boolean Description of widget for boolean Feb 3, 2021
@nurikk
Copy link

nurikk commented Feb 7, 2021

Same issue, I've created example with issue
https://codesandbox.io/s/custom-fields-example-forked-2c09r

@zehawki
Copy link

zehawki commented Mar 30, 2021

I can confirm this issue as well. I see in the playground, as well as in my own experimentation. Occurring only for single checkbox.

image

@epicfaace epicfaace changed the title Description of widget for boolean Checkbox doesn't support descriptions for material-ui / bootstrap-4 Apr 12, 2021
@jacqueswho jacqueswho added bug material-ui material-ui related theme issue bootstrap-4 bootstrap-4 related theme issue labels Apr 11, 2022
@arunim2405
Copy link

Was the fix for this released for material-ui? If yes, which version?

Copy link

stale bot commented Mar 12, 2024

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.

@stale stale bot added the possibly close To confirm if this issue can be closed label Mar 12, 2024
Copy link

stale bot commented Apr 12, 2024

This issue was closed because of lack of recent activity. Reopen if you still need assistance.

@stale stale bot closed this as completed Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bootstrap-4 bootstrap-4 related theme issue bug material-ui material-ui related theme issue possibly close To confirm if this issue can be closed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants