OptionaladdButton label to add another item.
OptionalclearClear the value (remove the key from the submission data) when the field is hidden. This is applied if the component itself or any parent is hidden, irrespective the mechanism that made it hidden.
Related: hidden, conditional.
Form definition for each item in the repeating group.
OptionaldefaultThe default/initial value to populate the field with if no value is set yet.
The typevar T determines the (intrinsic) value type of the component. If the
component supports the multiple property, use the WithMultiple type instead.
OptionaldescriptionAdditional information for the form field, displayed unconditionally.
Control whether any rows can be added or removed.
Label for an individual item, interpolated with the index of each item.
Specific to Open Forms.
OptionalhiddenHide or show the form field. This only controls the visibility - whether
submission data is retained or not is controlled through clearOnHide.
OptionalhideIf enabled, the label of the group will not be displayed.
Unique ID for a component in a form definition. Used to render HTML IDs.
OptionalisMarker for a form field that requests potentially (privacy) sensitive information.
Pruning of submission data will clear the data of components marked as sensitive data.
This is specific to Open Forms.
Unique key for the component in a larger form definition.
The value must comply with the (\w|\w[\w.\-]*\w) regex, meaning that periods/dots
are allowed unless they're start or end. The period character creates a nesting
level in the submission data.
The form field label text.
OptionalopenOptionalremoveButton label to remove a single item or cancel editing it.
OptionalsaveButton label to save/confirm a single item.
OptionaltooltipExtra information or background for the form field. Displayed after interacting with the tooltip icon/control near the label.
Discriminator to determine the component type. Uniquely determines the shape of the component configuration options.
OptionalvalidateThe validation configuration of the component.
OptionalmaxLength?: numberMaximum length of a value for text-based fields.
Optionalrequired?: booleanSet to true to require a non-empty value to be provided for the field.
Component shape/options for the edit grid component.
Edit grids are used for "repeating groups". The
componentsconfiguration inside the editgrid component describes a blueprint for each item - effectively creating a list of nested forms with all their usual features.The intrinsic data type is an array of objects, where the shape of each object is described by the
component.componentsproperty.Remarks
The generated documentation might be slightly off due to rendering the type alias as an interface. Double check with the actual TS types!