Type

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

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.