cilog-lib 1.13.14 → 1.13.15

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.
@@ -1535,7 +1535,7 @@ class CilogGridComponent {
1535
1535
  },
1536
1536
  valueSetter: (params) => {
1537
1537
  if (params.data[params.colDef.field].value != params.newValue) {
1538
- if (params.newValue == null || params.newValue == '') {
1538
+ if (params.newValue === null || params.newValue == '') {
1539
1539
  params.data[params.colDef.field].value = null;
1540
1540
  return true;
1541
1541
  }
@@ -1555,6 +1555,7 @@ class CilogGridComponent {
1555
1555
  case ColType.Number:
1556
1556
  const parsedValue = parseFloat(params.newValue);
1557
1557
  if (isNaN(parsedValue) || parsedValue < 0) {
1558
+ alert("Format invalide");
1558
1559
  params.data[params.colDef.field].value = params.oldValue;
1559
1560
  return false;
1560
1561
  }