mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACA-3742] Metadata - constraints validation (#5908)
* card min max value validator * card match value validator * card value length validator * map validators to constraint type * add minmax * update exported validators * register validators based on constraint type * translate errors with parameters * tests
This commit is contained in:
@@ -175,7 +175,10 @@
|
||||
"NONE": "None",
|
||||
"VALIDATORS": {
|
||||
"FLOAT_VALIDATION_ERROR": "Use a number format",
|
||||
"INT_VALIDATION_ERROR": "Use an integer format"
|
||||
"INT_VALIDATION_ERROR": "Use an integer format",
|
||||
"LENGTH_VALIDATION_ERROR": "Value should be minimum {{ minLength }} and maximum {{ maxLength }} in length",
|
||||
"MATCH_VALIDATION_ERROR": "Value doesn't match pattern: {{ expression }}",
|
||||
"MINMAX_VALIDATION_ERROR": "Value should be between minimum {{ minValue }} and maximum {{ maxValue }}"
|
||||
},
|
||||
"MORE": "More"
|
||||
},
|
||||
|
Reference in New Issue
Block a user