Group

This field can be used to combine related fields. Groups can be nested recursively.

Example

Group
{
  type: "group",
  value: [
    { type: "code" },
    { type: "number" },
    { type: "toggle" },
  ],
  label: "Group",
}

Options

Input

Use these options when using the field with take.

value
Field[]
The collection of fields that are nested within the group.
open?
boolean
When true, the fields are initially visible.
key?
string
A key to access the value. If provided, each field must have a unique key. See make for more information about accessing values.
label?
string |‌ false
A label describing the purpose of the field. Setting the label to false removes the element, which can be useful when nested as the only child within a group.
detail?
string
Additional information about the field, disclosed in a tooltip.
required?
boolean
Whether or not this field is required.