dynamic-forms / Interface

AsyncValidatorConfig

Async custom validator configuration using Angular's validateAsync API Returns Observable<ValidationError | ValidationError[] | null>

Properties

NameTypeDescription
functionName
string

Name of registered async validator function

params
Record<string, unknown> | undefined

Optional parameters to pass to validator function

type
"customAsync"

Validator type identifier

when
inherited from BaseValidatorConfig
ConditionalExpression | undefined

Conditional logic for when validator applies