@overmap-ai/forms 1.0.32-react-flow-david-fixes.12 → 1.0.32-react-flow-david-fixes.13
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/dist/forms.js +1 -1
- package/dist/forms.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/forms.js
CHANGED
|
@@ -36185,7 +36185,7 @@ const FormRenderer = memo(
|
|
|
36185
36185
|
const handleValuesChange = useCallback(
|
|
36186
36186
|
(identifier, value) => {
|
|
36187
36187
|
const field = getFieldsMapping(schema.fields)[identifier];
|
|
36188
|
-
if (field.
|
|
36188
|
+
if (field.areValuesEqual(initialValues[identifier], value)) return;
|
|
36189
36189
|
onValuesChange == null ? void 0 : onValuesChange({ ...formik.values, [identifier]: value }, { [identifier]: value });
|
|
36190
36190
|
},
|
|
36191
36191
|
[formik.values, initialValues, onValuesChange, schema.fields]
|
package/dist/forms.umd.cjs
CHANGED
|
@@ -36187,7 +36187,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
36187
36187
|
const handleValuesChange = React.useCallback(
|
|
36188
36188
|
(identifier, value) => {
|
|
36189
36189
|
const field = getFieldsMapping(schema.fields)[identifier];
|
|
36190
|
-
if (field.
|
|
36190
|
+
if (field.areValuesEqual(initialValues[identifier], value)) return;
|
|
36191
36191
|
onValuesChange == null ? void 0 : onValuesChange({ ...formik$1.values, [identifier]: value }, { [identifier]: value });
|
|
36192
36192
|
},
|
|
36193
36193
|
[formik$1.values, initialValues, onValuesChange, schema.fields]
|