Optional
description?: DescriptionOptional
initialOptional
label?: stringA quick description of the field. If omitted, the name will be used as label.
The name uniquely identifies the input field and is used to store the value in the output
structure, i.e. if field.name === 'myFieldName'
, then the value chosen by the user
is available in the output stucture in output['myFieldName']
. Note that the section
structure is irrelevant for the output structure, just the name uniquely identifies the
field.
Optional
onOptional
required?: booleanIf this is set to true, the form cannot be submitted if this fields value is empty or undefined.
The type uniquely identifies which kind of form field is used, e.g. 'string', 'integer'. This tells the library which form field manager should be used to handle this form field.
An optional verbose description which will only be shown when the field is expanded.