Skip to content

Commit d06b974

Browse files
committed
1 parent 31dd90b commit d06b974

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/honest-olives-occur.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@sjsf/form": patch
3+
---
4+
5+
Port https://github.com/rjsf-team/react-jsonschema-form/pull/4665

packages/form/src/core/default-state.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ export function computeDefaults(
397397
stack: nextStack,
398398
experimental_defaultFormStateBehavior: experimentalBehaviorToCompute,
399399
parentDefaults: defaults,
400-
rawFormData: schemaToComputeFormData,
400+
rawFormData: rawFormData ?? schemaToComputeFormData,
401401
required,
402402
shouldMergeDefaultsIntoFormData,
403403
});

0 commit comments

Comments
 (0)