@trudb/tru-common-lib 0.2.345 → 0.2.346
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.
|
@@ -8153,7 +8153,7 @@ class TruDataGrid {
|
|
|
8153
8153
|
let fieldName = e.colDef.field;
|
|
8154
8154
|
let propertyConfig = e.data[fieldName];
|
|
8155
8155
|
let propertyPathParts = [];
|
|
8156
|
-
if (propertyConfig.
|
|
8156
|
+
if (propertyConfig?.propertyPath.includes('.')) {
|
|
8157
8157
|
propertyPathParts = this.getPropertyPathParts(propertyConfig.propertyPath);
|
|
8158
8158
|
}
|
|
8159
8159
|
let entityToValidate = propertyPathParts.length ? propertyPathParts.reduce((p, c) => p && p[c] || null, e.data.$entity) : e.data.$entity;
|