@rjsf/validator-ajv8
Advanced tools
Changelog
5.18.2
Changelog
5.18.0
SelectWidget
and BaseInputTemplate
to filter out errorSchema
and autocomplete
from the textFieldProps
being spread onto the TextField
, fixing #4134skipEmptyDefault
option in emptyObjectFields
, fixing #3880computeSkipPopulate
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 #4127Changelog
5.17.1
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.Changelog
5.17.0
anyOf
/oneOf
in uiSchema
s in the MultiSchemaField
, fixing #4039base64
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 #4067atob
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
supportChangelog
5.16.0
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 #4031getDateElementProps()
to refactor duplicate function in core
, antd
& chakra-ui
AltDateWidget's source code. The same function, implements the feature requested in #297Changelog
5.15.1
getFieldNames
. Now correctly defines an array of primitives.AJV6Validator
class to expose the internal ajv
object, allowing access to support a fix related to #3972AJV8Validator
class to expose the internal ajv
object, allowing access to support a fix related to #3972ajv
variableChangelog
5.15.0
"ui:label": false
is specified.resolveAllReferences()
to use own recurse list for each object properties, fixing #3961allOf
to experimental_defaultFormStateBehavior
for populating defaults when using allOf
schemas #3969utils
in validator-ajv6
and validator-ajv8
packages tsconfigsexperimental_defaultFormStateBehavior.allOf
behaviour in the playgroundChangelog
5.14.3
retrieveSchema
at Form
state to memoize the result of schemUtils.retrieveSchema
ArrayFieldItemTemplate
items"importHelpers": false
to remove need for tslib dependency #3958snapshot-tests
in a root tsconfig, update it to also use es modules