Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Duplicated description when using ui:widget #4742

Open
@anya92

Description

Prerequisites

What theme are you using?

antd

Version

5.x

Current Behavior

When using a boolean field with ui:widget: "checkbox" specified in the uiSchema, the description text appears duplicated in the rendered form. The description shows up both in its normal location and again below the checkbox input.

Expected Behavior

The description should only appear once, either in its standard position or in the appropriate location for the checkbox widget, but not duplicated.

Steps To Reproduce

  1. Create a schema with a boolean field
  2. Add a uiSchema that specifies ui:widget: "checkbox" for that field
  3. Add a ui:description to the same field in the uiSchema
  4. Observe that the description text appears twice

Example: Playground

Environment

- OS:
- Node:
- npm:

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /