Skip to content

Error when using the Form component from @rjsf/antd #4802

@jerickBilalatRba

Description

@jerickBilalatRba

Prerequisites

What theme are you using?

antd

Version

6.0.0-beta.20 and 6.0.0-beta.21

Current Behavior

It does not work when schema has an property of type array. See error log below.

Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.

Check the render method of `AddButton`.

Expected Behavior

No response

Steps To Reproduce

No response

Environment

- OS:
- Node:
- npm:

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds reproducible exampleMissing a link to a reproduction in the playground, CodeSandbox, JSFiddle, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions