FieldStateInfo
@ng-forge/dynamic-forms
Represents the state information of a single form field.
Used in evaluation contexts to allow expressions and conditions
to reference field state (e.g., fieldState.touched, formFieldState.email.dirty).
@public
Signature
interface FieldStateInfoProperties
| Name | Type | Description |
|---|---|---|
touched | boolean | - |
dirty | boolean | - |
pristine | boolean | Convenience property: equivalent to !dirty |
valid | boolean | - |
invalid | boolean | - |
pending | boolean | - |
hidden | boolean | Whether the field is currently hidden. Note: This is a library-managed property, not a native Angular Signal Forms
property. Returns |
readonly | boolean | Whether the field is currently readonly. Note: This is a library-managed property, not a native Angular Signal Forms
property. Returns |
disabled | boolean | Whether the field is currently disabled. Note: This is a library-managed property, not a native Angular Signal Forms
property. Returns |
packages/dynamic-forms/src/lib/models/expressions/field-state-context.ts:9