Skip to content

Field Group

field-group represents arrays of objects and supports scoped rules.

ts
{
  id: 'contacts',
  type: 'field-group',
  defaultItem: { role: 'backup', name: '', email: '' },
  template: [
    { id: 'role', type: 'select' },
    { id: 'name', type: 'input' },
    { id: 'email', type: 'input' }
  ]
}