@abgov/jsonforms-components 1.42.0 → 1.42.1

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
@@ -5772,8 +5772,7 @@ const FormStepper = props => {
5772
5772
  },
5773
5773
  children: readOnly ? 'View' : 'Edit'
5774
5774
  })]
5775
- }), jsx(GoAGrid, {
5776
- minChildWidth: "600px",
5775
+ }), jsx("div", {
5777
5776
  children: category.elements.filter(field => {
5778
5777
  var _a, _b;
5779
5778
  const conditionProps = (_a = field.rule) === null || _a === void 0 ? void 0 : _a.condition;
@@ -8418,6 +8417,7 @@ const FullNameControl = props => {
8418
8417
  };
8419
8418
  const [nameData, setNameData] = useState(data || defaultName);
8420
8419
  const updateFormData = updatedData => {
8420
+ updatedData = Object.fromEntries(Object.entries(updatedData).filter(([_, value]) => value !== ''));
8421
8421
  handleChange(path, updatedData);
8422
8422
  };
8423
8423
  const handleInputChange = (field, value) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "1.42.0",
3
+ "version": "1.42.1",
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",