@rjsf/core
Advanced tools
Changelog
5.22.1
Changelog
5.22.0
MultiSchemaField
to call the onChange
handler after setting the new option, fixing #3997 and #4314experimental_customMergeAllOf
option to retrieveSchema()
and getDefaultFormState()
to allow custom merging of allOf
schemasmergeDefaultsIntoFormData
option to Experimental_DefaultFormStateBehavior
type to control how to handle merging of defaultsmergeDefaultsWithFormData()
to add new optional defaultSupercedesUndefined
that when true uses the defaults rather than undefined
formData, fixing #4322getDefaultFormState()
to pass true to mergeDefaultsWithFormData
for defaultSupercedesUndefined
when mergeDefaultsIntoFormData
has the value useDefaultIfFormDataUndefined
, fixing #4322getClosestMatchingOption()
to improve the scoring of sub-property objects that are provided over ones that aren't, fixing #3997 and #4314form-props.md
to add documentation for the new experimental_customMergeAllOf
props and the experimental_defaultFormStateBehavior.mergeDefaultsIntoFormData
optionutility-functions.md
to add documentation for the new optional defaultSupercedesUndefined
parameter and the two missing optional fields on getDefaultFormState()
custom-templates.md
to add a section header for wrapping BaseInputTemplate
mergeDefaultsIntoFormData
option
Show Error List
component over one column, making it inline radio buttons rather than a selectChangelog
5.21.1
deepEquals()
from [#4292]deepEquals()
instead of lodash.isEqual()
from [#4292]Changelog
5.20.1
5.20.x
due to types and API changes in @rjsf/utils
Changelog
5.19.4
ValidatorType
interface to add an optional reset?: () => void
prop that can be implemented to reset a validator back to initial constructed state
ParserValidator
to provide a reset()
function that clears the schema mapMarkdown
rather than HTML tags since we now render them with Markdown
AJV8Validator
to implement the reset()
function to remove cached schemas in the ajv
instanceValidator
dropdown to add AJV8 (discriminator)
which sets the AJV validator discriminator option to true
to support testing schemas with that option in themChangelog
5.19.3