New Feature
- Added support for passing MUI-specific props (e.g.,
sx,rjsfSlotProps,variant) directly throughuiSchemafor all templates and widgets see the documentation
@rjsf/antd
- Updated
BaseInputTemplateto removetypeand setchangeOnWheelto false for theInputNumbercomponent, fixing #5002 - Updated
ErrorListandIconButtonto destructure icons imported from@ant-design/icons, fixing #4953 - Added
key={label}to key input inWrapIfAdditionalTemplateto reset input value after duplicate key rename (#4999) - Updated
BaseInputTemplateto destructure and guardmin/maxbefore spreading ontoInputNumber, fixing a build error caused by the widenedInputPropsType(number | string) - Added support for Antd v6, addressing #4995
@rjsf/chakra-ui
- Added
key={label}to key input inWrapIfAdditionalTemplateto reset input value after duplicate key rename (#4999) - Added opt-in
optionValueFormat: 'realValue'support toSelectWidget,RadioWidget, andCheckboxesWidget(#4693)
@rjsf/core
- Added a new
removeEmptyOptionalObjectsboolean prop to gracefully prune optional empty objects preventing form submission lockouts, fixing #4954 - Included
buttonelements infocusOnErrorquerySelector so that radio and checkbox groups receive focus on validation error, fixing #4870 - Fixed focus being lost when renaming additional property keys by preserving React key for renamed properties (#4999)
- Removed
expandUiSchemaDefinitionscall at form init, now handled at runtime byresolveUiSchema, fixing #4986 - Used
useRefto track latestformDatainhandleKeyRename, preventing stale closure data when multiple additional property keys are renamed in quick succession, fixing #5021 - Added opt-in
optionValueFormat: 'realValue'support toSelectWidget,RadioWidget, andCheckboxesWidgetfor rendering real enum values in DOM attributes instead of array indices (#4693)
@rjsf/daisyui
- Added
key={label}to key input inWrapIfAdditionalTemplateto reset input value after duplicate key rename (#4999) - Added opt-in
optionValueFormat: 'realValue'support toSelectWidget,RadioWidget, andCheckboxesWidget(#4693)
@rjsf/fluentui-rc
- Added
key={label}to key input inWrapIfAdditionalTemplateto reset input value after duplicate key rename (#4999) - Added opt-in
optionValueFormat: 'realValue'support toSelectWidget,RadioWidget, andCheckboxesWidget(#4693)
@rjsf/mantine
- Added
key={label}to key input inWrapIfAdditionalTemplateto reset input value after duplicate key rename (#4999) - Updated
BaseInputTemplateto destructure and guardmin/maxbefore spreading ontoNumberInput, fixing a build error caused by the widenedInputPropsType(number | string) - Added opt-in
optionValueFormat: 'realValue'support toSelectWidget,RadioWidget, andCheckboxesWidget(#4693)
@rjsf/mui
- Added
key={label}to key input inWrapIfAdditionalTemplateto reset input value after duplicate key rename (#4999) - Added opt-in
optionValueFormat: 'realValue'support toSelectWidget,RadioWidget, andCheckboxesWidget(#4693) - Added support for passing MUI-specific props (e.g.,
sx,rjsfSlotProps,variant) directly throughuiSchemafor all templates and widgets, fixing #4996
@rjsf/primereact
- Added
key={label}to key input inWrapIfAdditionalTemplateto reset input value after duplicate key rename (#4999) - Added opt-in
optionValueFormat: 'realValue'support toSelectWidget,RadioWidget, andCheckboxesWidget(#4693)
@rjsf/react-bootstrap
- Added
key={label}to key input inWrapIfAdditionalTemplateto reset input value after duplicate key rename (#4999) - Added opt-in
optionValueFormat: 'realValue'support toSelectWidget,RadioWidget, andCheckboxesWidget(#4693)
@rjsf/semantic-ui
- Added
key={label}to key input inWrapIfAdditionalTemplateto reset input value after duplicate key rename (#4999) - Added opt-in
optionValueFormat: 'realValue'support toSelectWidget,RadioWidget, andCheckboxesWidget(#4693)
@rjsf/shadcn
- Added
key={label}to key input inWrapIfAdditionalTemplateto reset input value after duplicate key rename (#4999) - Added opt-in
optionValueFormat: 'realValue'support toSelectWidget,RadioWidget, andCheckboxesWidget(#4693)
@rjsf/utils
- Added
removeOptionalEmptyObjectsutility function to recursively strip fully empty optional objects based on their parent'srequiredproperties, fixing #4954 - Updated
InputPropsTypeto widenminandmaxtonumber | stringto support date values (e.g."2020-01-01") - Updated
getInputProps()to propagateformatMinimumandformatMaximumschema keywords to the HTMLmin/maxattributes fordate,datetime-local,time,week, andmonthinput types, aligning browser-native date picker constraints with AJV validation - Fixed
ui:titlefromui:definitionsnot applied tooneOf/anyOfdropdowns beyond first recursion level, fixing #4986 - Added
enumOptionValueEncoder,enumOptionValueDecoder, andenumOptionSelectedValueutilities for opt-in real enum value rendering in select/radio/checkbox widgets (#4693) - Added
optionValueFormat: 'indexed' | 'realValue'toGlobalUISchemaOptionsand theOptionValueFormattype for opt-in real enum values in widget DOM attributes (#4693)
@rjsf/validator-ajv8
- Updated
CustomValidatorOptionsTypeto add the newsuppressDuplicateFilteringflag prop, updating the validators to pass it through to thetransformRJSFValidationErrors()which suppresses the appropriate duplicate errors if specified, fixing #5028
Dev / docs / playground
- Updated References playground sample to demonstrate
oneOfwithui:titleat recursive depth, related to #4986 - Updated the building of the
mantinetheme to properly support ESM, fixing #5025 - Updated the
validator-ajv8.mdandvalidation.mddocumetation for the newsuppressDuplicateFilteringconfiguration prop - Added comprehensive documentation for
@rjsf/muicustomization viauiSchema(includingrjsfSlotPropsusage).