diff options
Diffstat (limited to '')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/shared/models/cd-form-modal-field-config.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/models/cd-form-modal-field-config.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/models/cd-form-modal-field-config.ts index e327be59a..a899e6daa 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/shared/models/cd-form-modal-field-config.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/models/cd-form-modal-field-config.ts @@ -1,4 +1,4 @@ -import { ValidatorFn } from '@angular/forms'; +import { AsyncValidatorFn, ValidatorFn } from '@angular/forms'; export class CdFormModalFieldConfig { // --- Generic field properties --- @@ -11,6 +11,7 @@ export class CdFormModalFieldConfig { value?: any; errors?: { [errorName: string]: string }; validators: ValidatorFn[]; + asyncValidators?: AsyncValidatorFn[]; // --- Specific field properties --- typeConfig?: { |