@abgov/jsonforms-components 1.24.3 → 1.24.5
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/index.esm.js +2 -1
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -5062,9 +5062,10 @@ data, field, index, requiredFields) => {
|
|
|
5062
5062
|
listData.forEach((elementData, i) => {
|
|
5063
5063
|
const itemData = [];
|
|
5064
5064
|
elements.forEach((element, j) => {
|
|
5065
|
+
var _a;
|
|
5065
5066
|
const fieldName = element.scope.split('/').pop() || '';
|
|
5066
5067
|
const label = resolveLabelFromScope(element.scope);
|
|
5067
|
-
const value =
|
|
5068
|
+
const value = (_a = elementData[fieldName]) !== null && _a !== void 0 ? _a : '';
|
|
5068
5069
|
itemData.push([label, value]);
|
|
5069
5070
|
});
|
|
5070
5071
|
detailData.push([`${i}`, itemData]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "1.24.
|
|
3
|
+
"version": "1.24.5",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Government of Alberta - React renderers for JSON Forms based on the design system.",
|
|
6
6
|
"repository": "https://github.com/GovAlta/adsp-monorepo",
|