Skip to content

RJSF - Details Custom Widget #236

@Dias999

Description

@Dias999

Sometimes we need to display custom components inside the View form of RJSF.
We normally do it with custom widgets.
Now that we have prepareDataForForm, we can create a generic custom component that accepts a ReactNode to display this data.
We will also need to change the prepareDataForForm type to accept it

Tasks:

  • Create a generic custom widget that accepts ReactNode and displays it
  • Change types of prepareDataForForm to allow ReactNode

*** This idea will probably not work if you need to edit the data

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