FieldSignalContext
| Generic types: | TModel |
Field signal context - the "nervous system" of the dynamic form. Provided via FIELD_SIGNAL_CONTEXT injection token.
Gives mappers and components access to form state, values, and configuration. Container fields (Group, Array) create scoped contexts with nested forms.
The form property uses Angular's FieldTree which includes Subfields
Note: Form-level configuration (defaultValidationMessages, formOptions, defaultProps) is provided via dedicated injection tokens (DEFAULT_VALIDATION_MESSAGES, FORM_OPTIONS, DEFAULT_PROPS) at the DynamicForm level and inherited by all children.
Properties
| Name | Type | Description |
|---|---|---|
| currentPageValid | Signal<boolean> | undefined | Current page validity signal for paged forms. Used by next button to determine disabled state. |
| defaultValues | () => TModel | |
| form | FieldTree<TModel> | |
| injector | Injector | |
| value | WritableSignal<Partial<TModel> | undefined> |