FieldStateContext
@ng-forge/dynamic-forms
Field state context for the current field being evaluated.
Used as fieldState in evaluation contexts.
@public
Signature
type FieldStateContext = FieldStateInfo;Properties
| 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:57