5.0.0-beta.14
Pre-release
Pre-release
·
784 commits
to main
since this release
@rjsf/antd
- No longer render extra 0 for array without errors, fixing #3233
@rjsf/core
- Added
refdefinition toThemePropsfixing #2135 - Updated the
onChangehandler inFormto use the newpreventDuplicatesmode ofmergeObjects()when mergingextraErrorswhen live validation is off, fixing #3169
@rjsf/material-ui
- Fix RangeWidget missing htmlFor and schema.title #3281
@rjsf/mui
- Fix RangeWidget missing htmlFor and schema.title #3281
@rjsf/utils
- Updated
computedDefaults(used bygetDefaultFormState) to skip saving the computed default if it's an empty object unlessincludeUndefinedValuesis truthy, fixing #2150 and #2708 - Expanded the
getDefaultFormStateutil'sincludeUndefinedValuesprop to accept a boolean or"excludeObjectChildren"if it does not want to include undefined values in nested objects - Updated
mergeObjectsto add newpreventDuplicatesmode when concatenating arrays so that only unique values from the source object array are copied to the destination object array