cozy-ui-plus 4.2.0 → 4.3.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [4.3.0](https://github.com/cozy/cozy-libs/compare/cozy-ui-plus@4.2.0...cozy-ui-plus@4.3.0) (2026-01-14)
7
+
8
+ ### Features
9
+
10
+ - AddModal contact form now keeps input values when rerendering ([95bb344](https://github.com/cozy/cozy-libs/commit/95bb34443b1e5ca7caa72f4b68aec03d9c2d6399))
11
+
6
12
  # [4.2.0](https://github.com/cozy/cozy-libs/compare/cozy-ui-plus@4.1.0...cozy-ui-plus@4.2.0) (2026-01-14)
7
13
 
8
14
  ### Features
@@ -103,6 +103,7 @@ var ContactForm = function ContactForm(_ref) {
103
103
  makeCustomContactValues: makeCustomContactValues,
104
104
  t: t
105
105
  }),
106
+ keepDirtyOnReinitialize: true,
106
107
  validate: function validate(values) {
107
108
  return (0, _helpers.validateFields)(values, _fields, t);
108
109
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-ui-plus",
3
- "version": "4.2.0",
3
+ "version": "4.3.0",
4
4
  "description": "Cozy-ui-plus is an extension of cozy-ui and provides components based on cozy-client",
5
5
  "main": "dist/index.js",
6
6
  "license": "MIT",
@@ -74,5 +74,5 @@
74
74
  "react-dom": "^16 || ^17 || ^18",
75
75
  "twake-i18n": ">=0.3.0"
76
76
  },
77
- "gitHead": "1fe28398fc8315ebb5eba401731f8e318c00f05a"
77
+ "gitHead": "4ac3dd488a839d34625533d597919709c3bc72b8"
78
78
  }
@@ -64,6 +64,7 @@ const ContactForm = ({ contacts, contact, customFieldsProps, onSubmit }) => {
64
64
  t
65
65
  })
66
66
  }
67
+ keepDirtyOnReinitialize
67
68
  validate={values => validateFields(values, _fields, t)}
68
69
  onSubmit={formValues => {
69
70
  // avoid creating an empty contact