Interface

GroupField

@ng-forge/dynamic-forms

Group field interface for creating logical field groupings that map to object values Groups create nested form structures where child field values are collected into an object This is a programmatic grouping only - users cannot customize this field type

TypeScript cannot enforce field nesting rules due to circular dependency limitations. For documentation: Groups should contain rows and leaf fields, but NOT pages or other groups. Runtime validation enforces these rules.

Note: Groups are container fields and do not support meta since they have no native form element.

Signature

interface GroupField<
  TFields extends readonly GroupAllowedChildren[] = readonly GroupAllowedChildren[]
>
  extends FieldDef<never>

Type Parameters

NameConstraintDefaultDescription
TFieldsreadonly GroupAllowedChildren[]readonly GroupAllowedChildren[]-

Properties

NameTypeDescription
type "group"-
fields TFields-
label ?neverGroups do not have a label property - they are logical containers only *
meta ?neverGroups do not support meta - they have no native form element *
logic ?ContainerLogicConfig[]

Logic configurations for conditional group visibility. Only 'hidden' type logic is supported for groups.