FormList Component Specification¶
A FormList is probably the most complicated component type to create. The only requirements are to use the
value array to render the proper number of child components, allowing the user to add and remove items. In doing so, you must clone the children and pass them properties as necessary to be able to track the array value state.
It's best to start with the FormList component from ReactoForm and make modifications until it meets your needs.
defaultProps static property is recommended but not required.
Set this to
true so that the containing form and other components know that your component implements the FormList specification.