npm @rjsf/core 5.0.0-beta.14

latest releases: 5.21.1, 5.21.0, 5.20.1...
21 months ago

@rjsf/antd

  • No longer render extra 0 for array without errors, fixing #3233

@rjsf/core

  • Added ref definition to ThemeProps fixing #2135
  • Updated the onChange handler in Form to use the new preventDuplicates mode of mergeObjects() when merging extraErrors when 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 by getDefaultFormState) to skip saving the computed default if it's an empty object unless includeUndefinedValues is truthy, fixing #2150 and #2708
  • Expanded the getDefaultFormState util's includeUndefinedValues prop to accept a boolean or "excludeObjectChildren" if it does not want to include undefined values in nested objects
  • Updated mergeObjects to add new preventDuplicates mode when concatenating arrays so that only unique values from the source object array are copied to the destination object array

Dev / docs / playground

  • Removed extraneous leading space on the examples in the validation documentation, fixing #3282
  • Updated the documentation for mergeObjects() for the new preventDuplicates mode of concatenating arrays
  • Updated the documentation for unpkg releases to the correct name fixing the confusion found in #3262

Don't miss a new core release

NewReleases is sending notifications on new releases.