Skip to main content
cngx-src documentation

FieldControlAria

Interface

projects/forms/field/field-control-aria.ts

Import#

import { FieldControlAria } from '@cngx/forms/field'

Description#

Signals and handlers returned from createFieldControlAria.

Index#

Instance Properties#

ariaBusy#Signal
Readonly
ariaDisabled#Signal
Readonly
ariaErrorMessage#Signal
Readonly
ariaInvalid#Signal
Readonly
ariaReadonly#Signal
Readonly
ariaRequired#Signal
Readonly
describedBy#Signal
Readonly

Field-supplied ids plus the gated disabled-reason id.

disabled#Signal
Readonly

Field disabled, OR'd with localDisabled when configured.

errorState#Signal
Readonly

Presenter showError, false without a field.

focused#Signal
Readonly
handleFocusIn#function
Readonly
handleFocusOut#function
Readonly

Same-element bridge blur: unfocus unconditionally and mark the field as touched.

handleFocusOutWithin#function
Readonly

Composite-host blur: unfocus only when focus leaves the host subtree (internal focus moves between parts keep the focused state). Does not touch the field - composite hosts own their touched semantics.

id#Signal
Readonly

Presenter inputId, else the configured fallback.

labelledBy#Signal
Readonly