ballerina-core 1.0.248 → 1.0.249
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
package/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/record/template.tsx
CHANGED
|
@@ -278,15 +278,16 @@ export const RecordAbstractRenderer = <
|
|
|
278
278
|
return <></>;
|
|
279
279
|
}
|
|
280
280
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
}
|
|
281
|
+
// TODO: find a better way to warn about missing fields without cluttering the console
|
|
282
|
+
// visibleFieldKeys.value.forEach((field) => {
|
|
283
|
+
// if (field != null && !FieldTemplates.has(field)) {
|
|
284
|
+
// console.warn(
|
|
285
|
+
// `Field ${field} is defined in the visible fields, but not in the FieldTemplates. A renderer in the record fields is missing for this field.
|
|
286
|
+
// \n...When rendering \n...${domNodeId}
|
|
287
|
+
// `,
|
|
288
|
+
// );
|
|
289
|
+
// }
|
|
290
|
+
// });
|
|
290
291
|
|
|
291
292
|
const visibleFieldKeysSet = Set(
|
|
292
293
|
visibleFieldKeys.value.filter((fieldName) => fieldName != null),
|
package/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/table/template.tsx
CHANGED
|
@@ -575,15 +575,16 @@ export const TableAbstractRenderer = <
|
|
|
575
575
|
);
|
|
576
576
|
}
|
|
577
577
|
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
}
|
|
578
|
+
// TODO: find a better way to warn about missing fields without cluttering the console
|
|
579
|
+
// visibleColumns.value.columns.forEach((column) => {
|
|
580
|
+
// if (!CellTemplates.has(column)) {
|
|
581
|
+
// console.warn(
|
|
582
|
+
// `Column ${column} is defined in the visible columns, but not in the CellTemplates. A renderer in the table columns is missing for this column.
|
|
583
|
+
// \n...When rendering \n...${domNodeId}
|
|
584
|
+
// `,
|
|
585
|
+
// );
|
|
586
|
+
// }
|
|
587
|
+
// });
|
|
587
588
|
|
|
588
589
|
const calculatedDisabledColumns = TableLayout.Operations.ComputeLayout(
|
|
589
590
|
updatedBindings,
|