@topconsultnpm/sdkui-react-beta 6.14.123 → 6.14.124

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.
@@ -54,7 +54,7 @@ const TMTextBox = ({ autoFocus, maxLength, labelColor, precision, fromModal = fa
54
54
  if (currentValue) {
55
55
  const numericValue = parseFloat(currentValue);
56
56
  // Check maxValue
57
- if (maxValue && numericValue > maxValue) {
57
+ if (maxValue !== undefined && numericValue > maxValue) {
58
58
  setCurrentValue(maxValue.toString());
59
59
  ShowAlert({
60
60
  mode: 'warning',
@@ -64,7 +64,7 @@ const TMTextBox = ({ autoFocus, maxLength, labelColor, precision, fromModal = fa
64
64
  });
65
65
  }
66
66
  // Check minValue
67
- if (minValue && numericValue < minValue) {
67
+ if (minValue !== undefined && numericValue < minValue) {
68
68
  setCurrentValue(minValue.toString());
69
69
  ShowAlert({
70
70
  mode: 'warning',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.14.123",
3
+ "version": "6.14.124",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",