You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 aReactNode
to display this data.We will also need to change the
prepareDataForForm
type to accept itTasks:
ReactNode
and displays itprepareDataForForm
to allowReactNode
*** This idea will probably not work if you need to edit the data
The text was updated successfully, but these errors were encountered: