github rjsf-team/react-jsonschema-form v5.23.0
5.23.0

latest releases: 5.23.1, v5.23.1, 5.23.0...
20 hours ago

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 new constAsDefaults option
  • Updated getDefaultFormState() to use the new constAsDefaults 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 methods addErrors and setErrors to prevent duplicate error messages.

@rjsf/validator-ajv8

  • Fixed issue where error messages do not have title or ui:title if a Localizer function is used. Fixes #4387

Dev / docs / playground

  • Updated the playground to add a selector for the constAsDefaults option

Don't miss a new react-jsonschema-form release

NewReleases is sending notifications on new releases.