Row Field

Config

OptionDescription
fields *Array of field types to nest within this Row.
adminAdmin-specific configuration. See the default field admin config for more details.

* An asterisk denotes that a property is required.

Example

collections/ExampleCollection.js

{
slug: 'example-collection',
fields: [
{
type: 'row', // required
fields: [ // required
{
name: 'label',
type: 'text',
required: true,
admin: {
width: '50%',
},
},
{
name: 'value',
type: 'text',
required: true,
admin: {
width: '50%',
},
},
],
}
]
}
Next

Select Field