A React component for building Web forms from JSON Schema.
5.18.0
introduced new features in @rjsf/utils
that affect @rjsf/core
experimental_defaultFormStateBehavior
SelectWidget
and BaseInputTemplate
to filter out errorSchema
and autocomplete
from the textFieldProps
being spread onto the TextField
, fixing #4134
skipEmptyDefault
option in emptyObjectFields
, fixing #3880
computeSkipPopulate
option in arrayMinItems
, allowing custom logic to skip populating arrays with default values, implementing #4121."\</strong>"
would get printed next to filenames when uploading files, and restored intended bolding of filenames fixing #4120.skipEmptyDefault
option.Form
in usage documentation - fixing #4127
UiSchema
"ui:rows"
option for textarea
elements, fixing #4070.errorSchema
to ArrayFieldTemplate
props.base64
object from the @rjsf/utils
package. Note that this is a breaking change if you relied on the base64
object exported by @rjsf/utils
. Since this change caused #4080, and was only internally used by playground code, we are shipping this change in a patch release.errorSchema
to the ArrayFieldTemplateProps
type.base64
encoder/decoder object to the Playground package.anyOf
/oneOf
in uiSchema
s in the MultiSchemaField
, see documentation
anyOf
/oneOf
in uiSchema
s in the MultiSchemaField
, fixing #4039
base64
to support encoding
and decoding
using the UTF-8
charset to support the characters out of the Latin1
range.enumOptionsValueForIndex()
to fix issue that filtered enum options with a value that was 0, fixing #4067
atob
and btoa
) to invoke the functions from the new base64
object in @rjsf/utils
.uiSchema.md
documentation to describe how to use the new anyOf
/oneOf
supportdateElementProps
utility functions and file deletion support in the FileWidget
dateElementProps
function implementation, and replaced it with getDateElementProps
from @rjsf/utils
.format: "data-url"
in FileWidget
, fixing #3957.dateElementProps
function implementation, and replaced it with getDateElementProps
from @rjsf/utils
.dateElementProps
function implementation, and replaced it with getDateElementProps
from @rjsf/utils
.FieldErrorTemplate
and FieldHelpTemplate
to support html-based errors that cause <xxxx> cannot appear as a descendant of <p>
browser warnings, fixing #4031
getDateElementProps()
to refactor duplicate function in core
, antd
& chakra-ui
AltDateWidget's source code. The same function, implements the feature requested in #297
getFieldNames
. Now correctly defines an array of primitives.AJV6Validator
class to expose the internal ajv
object, allowing access to support a fix related to #3972
AJV8Validator
class to expose the internal ajv
object, allowing access to support a fix related to #3972
ajv
variableexperimental_defaultFormStateBehavior.allOf
added"ui:label": false
is specified.allOf
to experimental_defaultFormStateBehavior
for populating defaults when using allOf
schemas #3969
experimental_defaultFormStateBehavior.allOf
behaviour in the playground