@vertigis/react-ui 11.34.0 → 11.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -63,10 +63,10 @@ function getNumberErrorText(val, min, max) {
|
|
|
63
63
|
return `Value must be between ${min} and ${max}.`;
|
|
64
64
|
}
|
|
65
65
|
else if (hasMin) {
|
|
66
|
-
return `Value must be
|
|
66
|
+
return `Value must be at least ${min}.`;
|
|
67
67
|
}
|
|
68
68
|
else if (hasMax) {
|
|
69
|
-
return `Value must be
|
|
69
|
+
return `Value must not be higher than ${max}.`;
|
|
70
70
|
}
|
|
71
71
|
else {
|
|
72
72
|
return undefined;
|