tuain-ng-forms-lib 17.2.18 → 17.2.21
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.
|
@@ -1361,6 +1361,7 @@ class FieldDescriptor extends FormElement {
|
|
|
1361
1361
|
(attrName === 'fieldTypeCode') && (this.type = attrValue);
|
|
1362
1362
|
(attrName === 'fieldType') && (this.type = attrValue);
|
|
1363
1363
|
(attrName === 'tooltipText') && (this.tooltip = attrValue);
|
|
1364
|
+
(attrName === 'customAttributes') && (this.setCustomAttributes(attrValue));
|
|
1364
1365
|
}
|
|
1365
1366
|
}
|
|
1366
1367
|
}
|
|
@@ -1901,13 +1902,7 @@ class RecordTable extends FormElement {
|
|
|
1901
1902
|
for (const tableRecord of tableRecords) {
|
|
1902
1903
|
tableRecord.tableRecordId = tableRecord.tableRecordId ?? tableRecord.recordId ?? tableRecord.recordIdKey;
|
|
1903
1904
|
const recordReceived = new TableRecordData(tableRecord, this._columns, this._selectionField);
|
|
1904
|
-
const recordIdKey =
|
|
1905
|
-
if (!recordIdKey) {
|
|
1906
|
-
console.log(`Registro recibido sin idKey`);
|
|
1907
|
-
console.log(recordReceived);
|
|
1908
|
-
console.log(`Origen`);
|
|
1909
|
-
console.log(tableRecord);
|
|
1910
|
-
}
|
|
1905
|
+
const recordIdKey = recordReceived.recordIdKey ?? recordReceived.recordIdKey;
|
|
1911
1906
|
if (newRecordsObj[recordIdKey]) {
|
|
1912
1907
|
continue;
|
|
1913
1908
|
}
|