Skip to content

How to implement a custom sub-form? #1296

Discussion options

You must be logged in to vote

@Nilesh9768 The SubForm component in mappers in our docs is just a simple layout component that is not connected to the form state.

You can take a look at this example of how to implement such a component: https://data-driven-forms.org/examples/custom-layout-component#heading-customlayoutcomponent

You can define and use any props you like.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Nilesh9768
Comment options

Answer selected by Nilesh9768
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants