@cdmx/wappler_ag_grid 0.7.3 → 0.7.4
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.
- package/dmx-ag-grid.js +2 -2
- package/package.json +1 -1
package/dmx-ag-grid.js
CHANGED
|
@@ -413,9 +413,9 @@ dmx.Component('ag-grid', {
|
|
|
413
413
|
for (const value of values) {
|
|
414
414
|
if (value === null || value === undefined || value === '') {
|
|
415
415
|
hasText = true;
|
|
416
|
-
} else if (!isNaN(Number(value))) {
|
|
416
|
+
} else if (!isNaN(Number(value)) && !(typeof value === "string")) {
|
|
417
417
|
hasNumber = true;
|
|
418
|
-
} else if (
|
|
418
|
+
} else if (moment(value, moment.ISO_8601, true).isValid()) {
|
|
419
419
|
hasDate = true;
|
|
420
420
|
} else {
|
|
421
421
|
hasText = true;
|