Small potential BREAKING CHANGES
- If you are overriding the
AltDateWidgetorAltDateTimeWidgetthese changes may affect you
@rjsf/antd
- Updated
AltDateWidgetto use the newuseAltDateWidgetProps()hook, renamingshowTimetotime - Potentially BREAKING CHANGE: Updated
AltDateTimeWidgetto renameshowTimeprop totime
@rjsf/chakra-ui
- Updated
AltDateWidgetto use the newuseAltDateWidgetProps()hook, renamingshowTimetotime - Potentially BREAKING CHANGE: Updated
AltDateTimeWidgetto renameshowTimeprop totime
@rjsf/core
- Updated
FormPropsto add newonChange/onBlurvalues for theliveValidateandliveOmitprops, deprecating thebooleanaspect of them - Updated
Formto support the new feature to doonBlurhandling ofliveValidateandliveOmit - Updated
FormPropsto add the newinitialFormDataprop - Updated
Formso that is behaves as a "controlled" form whenformDatais passed and uncontrolled wheninitialFormDatais passed, fixing #391- Also fixed an issue where live validation was called on the initial form render, causing errors to show immediately, partially fixing #512
- Updated
Formto add a new programmatic function,setFieldValue(fieldPath: string | FieldPathList, newValue?: T): void, fixing #2099 - Added new
FallbackFieldto add opt-in functionality to control form data that is of an unsupported or unknown type (#4736). - Refactored much of the
FileWidgetimplementation into a newuseFileWidgetProps()hook, fixing #3146 - Refactored much of the
AltDateWidgetimplementation into a newuseAltDateWidgetProps()hook, fixing #3352
@rjsf/daisyui
- Deleted the
FileWidgetcomponent, moving the className and isMulti logic directly into theBaseInputTemplateso that the@rjsf/core'sFileWidgetworks properly for the theme, fixing #4803 - Updated
AltDateWidgetto use the newuseAltDateWidgetProps()hook
@rjsf/mantine
- Updated
FieldHelpTemplateto avoid issue whenhelpandfieldPathId` are undefined - Updated
AltDateWidgetto use the newuseAltDateWidgetProps()hook, renamingshowTimetotime - Potentially BREAKING CHANGE: Updated
AltDateTimeWidgetto renameshowTimeprop totime - Updated
FileWidgetto use theuseFileWidgetProps()hook
@rjsf/utils
- Added the
useFileWidgetProps()hook implementation, refactored from@rjsf/core - Added the
useAltDateWidgetProps()hook implementation, refactored from@rjsf/core
Dev / docs / playground
- Updated the playground to switch
liveValidateandliveOmitfrom checkboxes to radio buttons for the new options - Updated
internals.md,form-props.md,utility-functions.mdandv6x upgrade guide.mdto document the new features, potential breaking changes and deprecations