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

Antd theme: repeated title for select widget #3594

Closed
3 of 4 tasks
AnimaLupi opened this issue Apr 11, 2023 · 2 comments · Fixed by #3655
Closed
3 of 4 tasks

Antd theme: repeated title for select widget #3594

AnimaLupi opened this issue Apr 11, 2023 · 2 comments · Fixed by #3655
Assignees
Labels
bug labelOrDescription Relating to labels and descriptions of fields in the form

Comments

@AnimaLupi
Copy link

Prerequisites

What theme are you using?

antd

Version

5.x

Current Behavior

The title of the select input widget is repeated twice for antd theme

Expected Behavior

The title of the select input widget is displayed only once

Steps To Reproduce

  • Go to the playground
  • Select "Widgets" example
  • With the default theme, the title of the select input ("select box" text) is displayed once
  • Switch to AndD theme
  • The title of the select input ("select box" text) is displayed twice

Environment

- OS: N/A
- Node: N/A
- npm: N/A

Anything else?

image

@AnimaLupi AnimaLupi added bug needs triage Initial label given, to be assigned correct labels and assigned labels Apr 11, 2023
@heath-freenome heath-freenome removed the needs triage Initial label given, to be assigned correct labels and assigned label Apr 14, 2023
@heath-freenome heath-freenome self-assigned this Apr 14, 2023
@heath-freenome heath-freenome added the labelOrDescription Relating to labels and descriptions of fields in the form label Apr 14, 2023
@MaximeSauvageD4
Copy link

Same problem here, downgrading packages versions to 5.3.1 solve the issue for now 🙂

@anthonycaron
Copy link
Contributor

The same happens for the Checkbox widget. Let's see if the next release fixes both of these issues.

heath-freenome added a commit to heath-freenome/react-jsonschema-form that referenced this issue May 10, 2023
…kboxWidget

Fixes rjsf-team#3594
- Updated `@rjsf/antd` to remove the duplicate title for `SelectWidget` and description for `CheckboxWidget`
- Updated the snapshots due to the changes made above
- Updated the `CHANGELOG.md` accordinglt
heath-freenome added a commit that referenced this issue May 10, 2023
…kboxWidget (#3655)

Fixes #3594
- Updated `@rjsf/antd` to remove the duplicate title for `SelectWidget` and description for `CheckboxWidget`
- Updated the snapshots due to the changes made above
- Updated the `CHANGELOG.md` accordinglt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug labelOrDescription Relating to labels and descriptions of fields in the form
Projects
None yet
4 participants