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

@rjsf/antd CheckboxesWidget shows duplicate title #3815

Closed
4 tasks done
wangleng-shopee opened this issue Aug 7, 2023 · 0 comments · Fixed by #3822
Closed
4 tasks done

@rjsf/antd CheckboxesWidget shows duplicate title #3815

wangleng-shopee opened this issue Aug 7, 2023 · 0 comments · Fixed by #3822
Labels
antd antd related theme issue bug

Comments

@wangleng-shopee
Copy link

Prerequisites

What theme are you using?

antd

Version

5.11.2

Current Behavior

Using the checkboxes widget causes a duplicate in the title.

Screenshot 2023-08-07 at 15 43 53

Expected Behavior

There should be no duplicate in the title, which is similar to how the playground displays it.

Screenshot 2023-08-07 at 15 47 18

Steps To Reproduce

You can view the minimal reproducible example at this codesandbox: https://codesandbox.io/p/sandbox/github/wangleng-shopee/rjsf-antd-duplicate-checkboxes-title/tree/main?file=%2Fsrc%2FApp.tsx%3A1%2C1

Environment

- OS: macOS
- Node: 16.14.0
- yarn: 1.22.17

Anything else?

No response

@wangleng-shopee wangleng-shopee added bug needs triage Initial label given, to be assigned correct labels and assigned labels Aug 7, 2023
@heath-freenome heath-freenome added antd antd related theme issue and removed needs triage Initial label given, to be assigned correct labels and assigned labels Aug 11, 2023
nickgros added a commit to nickgros/react-jsonschema-form that referenced this issue Aug 11, 2023
- Fix rjsf-team#3815 by removing TitleFieldTemplate, antd Checkbox.Group handles title rendering itself.
- Add title field in related snapshot test
nickgros added a commit to nickgros/react-jsonschema-form that referenced this issue Aug 11, 2023
- Fix rjsf-team#3815 by removing TitleFieldTemplate, antd Checkbox.Group handles title rendering itself.
- Add title field in related snapshot test
heath-freenome pushed a commit that referenced this issue Aug 14, 2023
- Fix #3815 by removing TitleFieldTemplate, antd Checkbox.Group handles title rendering itself.
- Add title field in related snapshot test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
antd antd related theme issue bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants