@rjsf/chakra-ui
- Updated
ObjectFieldTemplate
to always generate the "Add" button whencanExpand()
is true, fixing #4772
@rjsf/core
- Updated
Form
to add theglobalFormOptions
to theregistry
when there areGlobalFormOptions
provided, also stopped passingidPrefix
andidSeparator
toSchemaField
- Updated
ArrayField
,LayoutGridField
,ObjectField
andSchemaField
to getidPrefix
,idSeparator
from theregistry.globalFormOptions
, no longer passing them onFieldProps
- Updated
SchemaField
to getexperimental_componentUpdateStrategy
from theregistry.globalFormOptions
as well
- Updated
@rjsf/utils
- Update
getDefaultFormState()
to add support fornull
defaults for["null", "object"]
and["null", "array"]
, fixing #1581 - Added a new
GlobalFormProps
interface which contains the following props and replaced theexperimental_componentUpdateStrategy
inRegistry
withglobalFormProps?: GlobalFormProps
experimental_componentUpdateStrategy
(refactored fromRegistry
) andidPrefix
&idSeparator
(refactored fromFieldProps
)
- BREAKING CHANGE: Removed the optional
idPrefix
andidSeparator
props from theFieldProps
interface
Dev / docs / playground
- Updated the
custom-widget-fields.md
andv6.x upgrade guide.md
to document the refactor of theidPrefix
andidSeparator
refactor