@gustavo-valsechi/client 1.4.231 → 1.4.232

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.
@@ -98,7 +98,7 @@ function Form(props) {
98
98
  defaultValues[key] = input.mask ? input.mask(value) : value;
99
99
  });
100
100
  const values = getValues();
101
- reset({ ...values, ...defaultValues }, { keepErrors: false });
101
+ reset({ ...defaultValues, ...values }, { keepErrors: false });
102
102
  }, [props.defaultValues, props.inputs]);
103
103
  const component = (data) => {
104
104
  var _a;
@@ -64,7 +64,7 @@ function Form(props) {
64
64
  defaultValues[key] = input.mask ? input.mask(value) : value;
65
65
  });
66
66
  const values = getValues();
67
- reset({ ...values, ...defaultValues }, { keepErrors: false });
67
+ reset({ ...defaultValues, ...values }, { keepErrors: false });
68
68
  }, [props.defaultValues, props.inputs]);
69
69
  const component = (data) => {
70
70
  var _a;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gustavo-valsechi/client",
3
- "version": "1.4.231",
3
+ "version": "1.4.232",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",