Skip to main content
cngx-src documentation

CngxFieldAccessor

Type Aliasforms/field

projects/forms/field/models.ts

Referenced by#

Description#

A callable that returns a CngxFieldRef - matches the shape of Angular Signal Forms' Field<T>.

// Signal Forms field is already a callable:
const emailField: Field<string> = schema(...);
// Pass directly:
<cngx-form-field [field]="emailField">

Definition#

function