@abgov/jsonforms-components 1.38.2 → 1.38.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 +2 -2
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -4783,7 +4783,7 @@ const EnumSelect = props => {
4783
4783
  message: error
4784
4784
  }) : jsx(Dropdown, {
4785
4785
  items: mergedOptions,
4786
- enabled: !enabled,
4786
+ enabled: enabled,
4787
4787
  selected: data,
4788
4788
  id: `jsonforms-${label}-dropdown`,
4789
4789
  label: label,
@@ -7542,7 +7542,7 @@ const AddressInputs = ({
7542
7542
  testId: "address-form-province-dropdown",
7543
7543
  ariaLabel: 'address-form-province',
7544
7544
  value: (address === null || address === void 0 ? void 0 : address.subdivisionCode) || '',
7545
- onChange: value => handleInputChange('province', value),
7545
+ onChange: (_, value) => handleInputChange('subdivisionCode', value),
7546
7546
  relative: true,
7547
7547
  width: "25ch",
7548
7548
  children: provinces.map(w => jsx(GoADropdownItem, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "1.38.2",
3
+ "version": "1.38.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",