mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
AAE-45774 Shorten invalid date error message (#11920)
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@
|
|||||||
/>
|
/>
|
||||||
@if (cardViewDateTimeControl.hasError('matDatepickerParse')) {
|
@if (cardViewDateTimeControl.hasError('matDatepickerParse')) {
|
||||||
<mat-error>
|
<mat-error>
|
||||||
{{ 'FORM.FIELD.VALIDATOR.INVALID_DATE_FORMAT' | translate: { format: property.format ?? '' } }}
|
{{ 'FORM.FIELD.VALIDATOR.INVALID_DATE_FORMAT' | translate }}
|
||||||
</mat-error>
|
</mat-error>
|
||||||
}
|
}
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
"INVALID_DECIMAL_NUMBER": "Use a decimal number format",
|
"INVALID_DECIMAL_NUMBER": "Use a decimal number format",
|
||||||
"INVALID_DECIMAL_PRECISION": "Incorrect decimal value, there should be a maximum of {{precision}} digits after the decimal point.",
|
"INVALID_DECIMAL_PRECISION": "Incorrect decimal value, there should be a maximum of {{precision}} digits after the decimal point.",
|
||||||
"INVALID_DATE": "Use a different date format",
|
"INVALID_DATE": "Use a different date format",
|
||||||
"INVALID_DATE_FORMAT": "Invalid date format, use the format: {{ format }}",
|
"INVALID_DATE_FORMAT": "Invalid date format.",
|
||||||
"INVALID_VALUE": "Enter a different value",
|
"INVALID_VALUE": "Enter a different value",
|
||||||
"NOT_GREATER_THAN": "Can't be greater than {{ maxValue }}",
|
"NOT_GREATER_THAN": "Can't be greater than {{ maxValue }}",
|
||||||
"NOT_LESS_THAN": "Can't be less than {{ minValue }}",
|
"NOT_LESS_THAN": "Can't be less than {{ minValue }}",
|
||||||
|
|||||||
Reference in New Issue
Block a user