6.0.0-beta.18
Pre-release
Pre-release
·
50 commits
to main
since this release
@rjsf/chakra-ui
- Updated
ObjectFieldTemplateto always generate the "Add" button whencanExpand()is true, fixing #4772
@rjsf/core
- Updated
Formto add theglobalFormOptionsto theregistrywhen there areGlobalFormOptionsprovided, also stopped passingidPrefixandidSeparatortoSchemaField - Updated
ArrayField,LayoutGridField,ObjectFieldandSchemaFieldto getidPrefix,idSeparatorfrom theregistry.globalFormOptions, no longer passing them onFieldProps- Updated
SchemaFieldto getexperimental_componentUpdateStrategyfrom theregistry.globalFormOptionsas well
- Updated
@rjsf/utils
- Update
getDefaultFormState()to add support fornulldefaults for["null", "object"]and["null", "array"], fixing #1581 - Added a new
GlobalFormPropsinterface which contains the following props and replaced theexperimental_componentUpdateStrategyinRegistrywithglobalFormProps?: GlobalFormPropsexperimental_componentUpdateStrategy(refactored fromRegistry) andidPrefix&idSeparator(refactored fromFieldProps)
- BREAKING CHANGE: Removed the optional
idPrefixandidSeparatorprops from theFieldPropsinterface
Dev / docs / playground
- Updated the
custom-widget-fields.mdandv6.x upgrade guide.mdto document the refactor of theidPrefixandidSeparatorrefactor