@abgov/jsonforms-components 1.24.3 → 1.24.4

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 +4 -1
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -5064,7 +5064,10 @@ data, field, index, requiredFields) => {
5064
5064
  elements.forEach((element, j) => {
5065
5065
  const fieldName = element.scope.split('/').pop() || '';
5066
5066
  const label = resolveLabelFromScope(element.scope);
5067
- const value = String(elementData[fieldName]);
5067
+ let value = String(elementData[fieldName]);
5068
+ if (value === 'undefined') {
5069
+ value = '';
5070
+ }
5068
5071
  itemData.push([label, value]);
5069
5072
  });
5070
5073
  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",
3
+ "version": "1.24.4",
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",