Maximal Length
Description
Validates that the maximal number of characters is not exceeded.
May be used by
Properties
Translation Key (
translationKey) Description
The translation key to use for the error message in case the validation fails. In the translation, the number of allowed characters can be referred to using {{requiredLength}}. A default translation is used when no translation key is configured.
Attributes
String
Optional
Max Number Of Characters (
maxNumberOfCharacters) Description
The maximal number of allowed characters.
Attributes
Integer
Mandatory
YAML Template (with default values)
type: MaxLengthValidation
id: MaxLengthValidation-xxxxxx
displayName:
comment:
properties:
maxNumberOfCharacters:
translationKey: