5.23.0
New features added
Experimental_DefaultFormStateBehavior.constAsDefaults
@rjsf/core
- Updated
SchemaField
to no longer make schema fields with const read-only by default, partially fixing #4344
@rjsf/utils
- Updated
Experimental_DefaultFormStateBehavior
to add a newconstAsDefaults
option - Updated
getDefaultFormState()
to use the newconstAsDefaults
option to control how const is used for defaulting, fixing #4344, #4361 and #4377 - Use
experimental_customMergeAllOf
option in functions that have previously missed it. - Updated
ErrorSchemaBuilder
methodsaddErrors
andsetErrors
to prevent duplicate error messages.
@rjsf/validator-ajv8
- Fixed issue where error messages do not have
title
orui:title
if aLocalizer
function is used. Fixes #4387
Dev / docs / playground
- Updated the playground to add a selector for the
constAsDefaults
option