Skip to main content
cngx-src documentation

CngxSelectActionContext

Interface

projects/forms/select/shared/template-slots.ts

Import#

import { CngxSelectActionContext } from '@cngx/forms/select'

Description#

Inline action-slot context for *cngxSelectAction. commit() defaults draft to { label: searchTerm }. setDirty and dirty drive the dismiss-guard. isPending/error/hasError mirror the commit controller. value is type-erased - single forwards value(), multi forwards values().

Index#

Instance Properties#

$implicit#string
Readonly
Readonly
commit#function
Readonly
Readonly
error#unknown
Readonly
hasError#boolean
Readonly
isPending#boolean
Readonly
Readonly

No-op for the 5 flat variants.

searchTerm#string
Readonly
setDirty#function
Readonly
value#unknown
Readonly