@abgov/jsonforms-components 1.17.1 → 1.17.2
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 +1 -1
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -4642,7 +4642,7 @@ fileList, downloadFile) => {
|
|
|
4642
4642
|
const asterisk = isRequired ? ' *' : '';
|
|
4643
4643
|
const values = fieldValues.value;
|
|
4644
4644
|
return jsxs(React.Fragment, {
|
|
4645
|
-
children: [fieldValues.type === 'primitive' && renderValue(`${label}${asterisk}
|
|
4645
|
+
children: [fieldValues.type === 'primitive' && renderValue(`${label}${asterisk}: `, `${index}`, fieldValues.value, fileUploaderElement, downloadFile), fieldValues.type === 'object' && values && values.length > 0 && values.map((v, i) => {
|
|
4646
4646
|
return renderValue(`${v[0]}: `, `${index}:${i}`, v[1]);
|
|
4647
4647
|
})]
|
|
4648
4648
|
}, index);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.2",
|
|
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",
|