5.23.0
New features added
Experimental_DefaultFormStateBehavior.constAsDefaults
@rjsf/core
- Updated
SchemaFieldto no longer make schema fields with const read-only by default, partially fixing #4344
@rjsf/utils
- Updated
Experimental_DefaultFormStateBehaviorto add a newconstAsDefaultsoption - Updated
getDefaultFormState()to use the newconstAsDefaultsoption to control how const is used for defaulting, fixing #4344, #4361 and #4377 - Use
experimental_customMergeAllOfoption in functions that have previously missed it. - Updated
ErrorSchemaBuildermethodsaddErrorsandsetErrorsto prevent duplicate error messages.
@rjsf/validator-ajv8
- Fixed issue where error messages do not have
titleorui:titleif aLocalizerfunction is used. Fixes #4387
Dev / docs / playground
- Updated the playground to add a selector for the
constAsDefaultsoption