@abgov/jsonforms-components 1.24.4 → 1.24.6

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.
Files changed (2) hide show
  1. package/index.esm.js +3 -4
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -5062,12 +5062,11 @@ 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
- let value = String(elementData[fieldName]);
5068
- if (value === 'undefined') {
5069
- value = '';
5070
- }
5068
+ const value = (_a = elementData[fieldName]) !== null && _a !== void 0 ? _a : '';
5069
+ console.log('ListWithDetailValue', value);
5071
5070
  itemData.push([label, value]);
5072
5071
  });
5073
5072
  detailData.push([`${i}`, itemData]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "1.24.4",
3
+ "version": "1.24.6",
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",