@abgov/jsonforms-components 1.16.10 → 1.16.11

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 +5 -5
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -4053,7 +4053,7 @@ const RadioGroup = props => {
4053
4053
  t
4054
4054
  } = props;
4055
4055
  const enumData = (schema === null || schema === void 0 ? void 0 : schema.enum) || [];
4056
- const appliedUiSchemaOptions = merge({}, config, props.uischema.options, uischema, options);
4056
+ const appliedUiSchemaOptions = merge({}, config, props.uischema.options, options);
4057
4057
  const errorsFormInput = checkFieldValidity(props);
4058
4058
  return jsx(GoARadioGroup, Object.assign({
4059
4059
  error: errorsFormInput.length > 0,
@@ -4064,12 +4064,12 @@ const RadioGroup = props => {
4064
4064
  }, appliedUiSchemaOptions, {
4065
4065
  onChange: (name, value) => handleChange(path, value)
4066
4066
  }, (_a = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _a === void 0 ? void 0 : _a.componentProps, {
4067
- children: enumData.map(value => {
4067
+ children: enumData.map(enumValue => {
4068
4068
  return jsx(GoARadioItem, Object.assign({
4069
- name: value,
4070
- value: `${value}`
4069
+ name: enumValue,
4070
+ value: `${enumValue}`
4071
4071
  }, appliedUiSchemaOptions, {
4072
- label: value
4072
+ label: enumValue
4073
4073
  }));
4074
4074
  })
4075
4075
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "1.16.10",
3
+ "version": "1.16.11",
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",