Skip to main content
cngx-src documentation

withStepErrorTemplate

Functioncommon/stepper

projects/common/stepper/stepper-config.ts

Description#

Override the default *cngxStepError template app-wide. The slot renders the per-step validation reason on the skins with a label area (classic / stripe-status-rich). Per-instance directive still wins; this moves the cascade middle tier.

Signature#

withStepErrorTemplate(template: TemplateRef)

Parameters#

@paramtemplateTemplateRef

Returns#

CngxStepperConfigFeature