@massimo-cassandro/minimo 0.12.6 → 0.12.7
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/package.json
CHANGED
|
@@ -485,9 +485,13 @@ class SimpleDatatableAdapter extends HTMLElement {
|
|
|
485
485
|
(value.timezone === 'UTC' ? 'Z' : '');
|
|
486
486
|
}
|
|
487
487
|
|
|
488
|
+
|
|
489
|
+
// TODO rendere più snella la gestione di questoi casi (???)
|
|
490
|
+
// TODO pasare il valore `nullAs` al render predefinito
|
|
488
491
|
// Applica _renderNullAs al valore della cella se null/undefined
|
|
489
492
|
// e la cella non ha già un template che gestisce la visualizzazione.
|
|
490
|
-
|
|
493
|
+
// se _renderMode è impostato, il valore null è gestito direttamente dal gestore predefinito
|
|
494
|
+
if (value == null && col_item._cellRender == null && col_item._renderMode == null) {
|
|
491
495
|
value = nullAs;
|
|
492
496
|
}
|
|
493
497
|
|