Skip to content

Commit 92e5448

Browse files
anthonycaronAnthony Caron
and
Anthony Caron
authored
fix: set defaults for oneOf + ref (#3634)
* fix: set defaults for oneOf + ref * update changelog * package-lock updates --------- Co-authored-by: Anthony Caron <[email protected]>
1 parent c09cc1a commit 92e5448

File tree

4 files changed

+81
-1175
lines changed

4 files changed

+81
-1175
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ should change the heading of the (upcoming) version to include a major version b
3939
- Refactored the `retrieveSchema()` internal API functions to support implementing an internal `schemaParser()` API for use in precompiling schemas, in support of [#3543](https://github.com/rjsf-team/react-jsonschema-form/issues/3543)
4040
- Fixed `toPathSchema()` to handle `properties` in an object along with `anyOf`/`oneOf`, fixing [#3628](https://github.com/rjsf-team/react-jsonschema-form/issues/3628) and [#1628](https://github.com/rjsf-team/react-jsonschema-form/issues/1628)
4141
- Refactored optional parameters for `computeDefaults()` into destructured props object to reduce clutter when only specifying later of the optional argument ([3604](https://github.com/rjsf-team/react-jsonschema-form/pull/3604))
42+
- Fixed `computeDefaults()` to handle `$ref` in an object along with `anyOf`/`oneOf`, fixing [#3633](https://github.com/rjsf-team/react-jsonschema-form/issues/3633)
4243

4344
## Dev / docs / playground
4445

0 commit comments

Comments
 (0)