Skip to content

[BUG] No rendering if two component as props inside a dictionary. #2128

Closed
@T4rk1n

Description

When defining props on component, if you have two props that can be components inside a list of dictionaries, the components are not rendered and a react error indicate objects are invalid.

Example props:

type Props = {
   fields: {
      label?: JSX.Element;
      input_component?: JSX.Element;
   }[];
}

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      [BUG] No rendering if two component as props inside a dictionary. · Issue #2128 · plotly/dash