Fix short description validator

This commit is contained in:
Chocobozzz 2022-08-18 15:03:46 +02:00
parent 6c38f40d96
commit c5fe343411
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -9,9 +9,9 @@ export const INSTANCE_NAME_VALIDATOR: BuildFormValidator = {
} }
export const INSTANCE_SHORT_DESCRIPTION_VALIDATOR: BuildFormValidator = { export const INSTANCE_SHORT_DESCRIPTION_VALIDATOR: BuildFormValidator = {
VALIDATORS: [ Validators.max(250) ], VALIDATORS: [ Validators.maxLength(250) ],
MESSAGES: { MESSAGES: {
max: $localize`Short description should not be longer than 250 characters.` maxlength: $localize`Short description should not be longer than 250 characters.`
} }
} }