You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix bug in LayoutGridField related to global options in the uiSchema (#4628)
* Fix bug in LayoutGridField related to global options in the uiSchema
Fixes a bug in `LayoutGridField` where it was looking at the wrong key for the `UiSchema`'s global options
- Updated `LayoutGridField` to use the `UI_GLOBAL_OPTIONS_KEY` constant from `@rjsf/util` instead of its own constant, which had the wrong key name
- Also fixed the `GlobalUISchemaOptions` to extend from `GenericObjectType` to support user-defined values for their customizations
- Updated the tests and `CHANGELOG.md` accordingly
* Update CHANGELOG.md
Co-authored-by: Serena Chen <[email protected]>
---------
Co-authored-by: Serena Chen <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,10 +23,15 @@ should change the heading of the (upcoming) version to include a major version b
23
23
- Added `getChakra` to package exports
24
24
- Restored the `ui:options` customization
25
25
26
+
## @rjsf/core
27
+
28
+
- Updated `LayoutGridField` to use the pre-existing `UI_GLOBAL_OPTIONS_KEY` instead of its own incorrect one.
29
+
26
30
## @rjsf/util
27
31
28
32
- Fixed form data propagation with `patternProperties`[#4617](https://github.com/rjsf-team/react-jsonschema-form/pull/4617)
29
33
- Fixed issue where oneOf schema references could not be modified when defaults were set, fixing [#4580](https://github.com/rjsf-team/react-jsonschema-form/issues/4580).
34
+
- Updated the `GlobalUISchemaOptions` types to extend `GenericObjectType` to support user-defined values for their extensions
0 commit comments