@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 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.isEqual(initialValues[identifier], value)) return;
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]
@@ -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.isEqual(initialValues[identifier], value)) return;
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]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@overmap-ai/forms",
3
- "version": "1.0.32-react-flow-david-fixes.12",
3
+ "version": "1.0.32-react-flow-david-fixes.13",
4
4
  "license": "UNLICENSED",
5
5
  "main": "dist/forms.umd.cjs",
6
6
  "module": "dist/forms.js",