Interface

PageField

@ng-forge/dynamic-forms

Page field interface for creating top-level page layouts This is a special field type that contains other field definitions The page itself doesn't have a value - it's a layout container like row Pages can only be used at the top level and cannot be nested This is a programmatic field type only - users cannot customize this field type

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

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

Signature

interface PageField<
  TFields extends readonly PageAllowedChildren[] = PageAllowedChildren[]
>
  extends FieldDef<never>

Type Parameters

NameConstraintDefaultDescription
TFieldsreadonly PageAllowedChildren[]PageAllowedChildren[]-

Properties

NameTypeDescription
type "page"-
fields TFieldsChild field definitions to render within this page
label ?neverPage fields do not have a label property *
meta ?neverPages do not support meta - they have no native form element *
logic ?ContainerLogicConfig[]

Logic configurations for conditional page visibility. Only 'hidden' type logic is supported for pages.