Template context type for CngxFieldErrors custom templatesCngxFieldErrorContext
Interface
projects/forms/field/field-errors.component.ts
Import#
import { CngxFieldErrorContext } from '@cngx/forms/field'
Description#
Template context type for CngxFieldErrors custom templates.
Instance Properties#
Resolved error message (also available as implicit let-msg).
The raw ValidationError object from Signal Forms.
Whether this is the first error.
Zero-based index of this error in the list.
The error kind (e.g. 'required', 'email', 'minLength').
Whether this is the last error.
Resolved error message from the registry.