Skip to content

Custom widget with HOC fails with < Error: Unsupported widget definition: object > #1736

@snirp

Description

@snirp

Prerequisites

Description

I have a custom widget that is wrapped in the react-redux "connect" HOC. Until recently it worked, but now fails with "Error: Unsupported widget definition: object". I have tried reverting to old versions of rjsf, but to no avail.

Steps to Reproduce

  1. Create a custom widget
  2. Wrap in connect({})(CustomWidget) to observe the error

Version

Tried various versions:

  • 2.0.0.alpha.1
  • 1.8.1
  • 1.4.0
  • 1.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions