Home > General Components > AutoSubformArray

AutoSubformArray

@wq/react’s <AutoSubformArray/> component generates a <FieldsetArray/> containing <AutoSubform/>s for the specified repeat group from the form configuration). <AutoSubformArray/> is primarily used with <AutoForm/>, and should never be overridden. Instead, you can configure a custom fieldset array and register it as the “appearance” for the repeat group. If no custom fieldset array is registered, <AutoSubformArray/> will usually render the default <FieldsetArray/>. The one exception is if the repeat group only has a single file or photo field - in that case, <FileArray/> will be rendered instead.

Source

The source code for <AutoSubformArray/> is available here:

  • AutoSubformArray.js (@wq/react)

This component should not generally need to be overridden directly.