1. Fields
  2. Section Field

Fields

Section Field

The Section Field allows for creating a section of fields, typically used to create an object. Adds a section of fields to an action. The section can contain multiple other Stubber fields, including more section fields. The value of the section field will be a single value, an object, containing the nested fields' names as keys, and each respective field's value as the value of the corresponding key.

Basic usage

loading...

Result

Parameters

See fields for common field parameters like validation and conditional rendering.

fields

optional
object

Multiple individual Stubber field specifications can be added to this parameter of a section field. Each field can have its own allowed parameters, as would be the case for a normal top level field.