@overmap-ai/forms 1.0.32-react-flow-david-fixes.21 → 1.0.32-react-flow-david-fixes.22

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
@@ -36268,8 +36268,8 @@ const FormRenderer = memo(
36268
36268
  const { readonly } = schema.meta;
36269
36269
  const formId2 = useId$1();
36270
36270
  const initialValues = useMemo(() => {
36271
- return initializeFieldValues(flattenFields(schema.fields), values);
36272
- }, [schema.fields, values]);
36271
+ return initializeFieldValues(flattenFields(schemaFromProps.fields), values);
36272
+ }, [schemaFromProps.fields, values]);
36273
36273
  const handleSubmit = useCallback(
36274
36274
  (values2) => {
36275
36275
  onSubmit == null ? void 0 : onSubmit(
@@ -36270,8 +36270,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
36270
36270
  const { readonly } = schema.meta;
36271
36271
  const formId2 = React.useId();
36272
36272
  const initialValues = React.useMemo(() => {
36273
- return initializeFieldValues(flattenFields(schema.fields), values);
36274
- }, [schema.fields, values]);
36273
+ return initializeFieldValues(flattenFields(schemaFromProps.fields), values);
36274
+ }, [schemaFromProps.fields, values]);
36275
36275
  const handleSubmit = React.useCallback(
36276
36276
  (values2) => {
36277
36277
  onSubmit == null ? void 0 : onSubmit(
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.21",
3
+ "version": "1.0.32-react-flow-david-fixes.22",
4
4
  "license": "UNLICENSED",
5
5
  "main": "dist/forms.umd.cjs",
6
6
  "module": "dist/forms.js",