How to implement a custom sub-form? #1296
              
                
                  
                  
                    Answered
                  
                  by
                    Hyperkid123
                  
              
          
                  
                    
                      Nilesh9768
                    
                  
                
                  asked this question in
                Need help
              
            -
| I'm trying to find a fully implemented example for custom sub-forms, But didn't get anything useful. Please provide a example for the same. Hoping for a quick response. Thank you! | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            Hyperkid123
          
      
      
        Aug 3, 2022 
      
    
    Replies: 1 comment 1 reply
-
| @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. | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        Nilesh9768
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
@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.