Skip to content

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

@T4rk1n

Description

@T4rk1n

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

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