Interface

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 FieldStateInfo

Properties

NameTypeDescription
touched boolean-
dirty boolean-
pristine booleanConvenience 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 false if the field instance does not expose a hidden signal.

readonly boolean

Whether the field is currently readonly.

Note: This is a library-managed property, not a native Angular Signal Forms property. Returns false if the field instance does not expose a readonly signal.

disabled boolean

Whether the field is currently disabled.

Note: This is a library-managed property, not a native Angular Signal Forms property. Returns false if the field instance does not expose a disabled signal.