Module

FormSections

Methods

# inner FormSections(props) → {React.ReactElement}

FormSections will loop through the sections and render them and their fields inside an html form
Parameters:
Name Type Description
props FormSectionProps props object

View Source stories/ConfigForm/GenericConfigForm.jsx, line 37

- the rendered form sections
React.ReactElement

Type Definitions

object

# FormSectionProps

Properties:
Name Type Attributes Description
title string <optional>
the title to display in the section
description string <optional>
the description to display in the section
renderFormDescription renderSectionDescription <optional>
a function to render the form description (bypassed if renderFormInformation is provided)
renderFormTitle renderSectionTitle <optional>
a function to render the form title (bypassed if renderFormInformation is provided)
renderFormInformation renderSectionTop <optional>
a function to render the form information (title and description)
renderSectionTitle renderSectionTitle <optional>
a function to render the section title
renderSectionDescription renderSectionDescription <optional>
a function to render the section description
renderSectionTop renderSectionTop <optional>
a function to render the section top
renderLoading function <optional>
a function to render the loading indicator
columnCount number <optional>
the number of columns to render
fieldOptions object <optional>
the options to pass to the fields
hideEmptySections boolean <optional>
whether or not to hide the section if it is empty
children object <optional>
the children to render

View Source stories/ConfigForm/GenericConfigForm.jsx, line 21