diff --git a/client/src/app/shared/form-validators/custom-config-validators.ts b/client/src/app/shared/form-validators/custom-config-validators.ts index ba8512e95..ff0813f7d 100644 --- a/client/src/app/shared/form-validators/custom-config-validators.ts +++ b/client/src/app/shared/form-validators/custom-config-validators.ts @@ -9,9 +9,9 @@ export const INSTANCE_NAME_VALIDATOR: BuildFormValidator = { } export const INSTANCE_SHORT_DESCRIPTION_VALIDATOR: BuildFormValidator = { - VALIDATORS: [ Validators.max(250) ], + VALIDATORS: [ Validators.maxLength(250) ], MESSAGES: { - max: $localize`Short description should not be longer than 250 characters.` + maxlength: $localize`Short description should not be longer than 250 characters.` } }