New features added
allowClearTextInputsaddedGlobalUISchemaOptionsto support displaying a clear text input UIomitExtraData()refactored to@rjsf/utils
@rjsf/antd
- Updated
BaseInputTemplateto support theallowClearTextInputsfeature for input fields - Removed deprecated
defaultPropsfromAltDateTimeWidgetandAltDateWidgetcomponents, preserving all existing behavior
@rjsf/chakra-ui
- Updated
BaseInputTemplateto support theallowClearTextInputsfeature for input fields - Removed deprecated
defaultPropsfromAltDateTimeWidgetandAltDateWidgetcomponents, preserving all existing behavior
@rjsf/core
- Updated
BaseInputTemplateto support theallowClearTextInputsfeature for input fields - Removed deprecated
defaultPropsfromAltDateTimeWidgetandAltDateWidgetcomponents, preserving all existing behavior - Fixed
ObjectFieldTemplaterendering an empty fieldset for pure oneOf/anyOf schemas (schemas withtype: "object"and oneOf/anyOf but no properties at root level) - Added
fieldPathIdtoFieldTemplateprops inSchemaFieldandLayoutMultiSchemaField, fixing #4897 - Fixed oneOf/anyOf option switches reverting in controlled forms, fixing #4918
- Fixed null option not being selectable and defaults not being restored when switching from null back to object option in oneOf/anyOf, fixing #4896 and #4380
- Refactored the
omitExtraData()function toschemaUtils, fixing #4081
@rjsf/daisyui
- Updated
BaseInputTemplateto support theallowClearTextInputsfeature for input fields - Updated
FieldTemplateto destructurefieldPathIdto prevent passing it to DOM elements, fixing #4897
@rjsf/fluent-ui
- Updated
BaseInputTemplateto support theallowClearTextInputsfeature for input fields
@rjsf/mantine
- Updated
BaseInputTemplateto support theallowClearTextInputsfeature for input fields
@rjsf/mui
- Updated
BaseInputTemplateto support theallowClearTextInputsfeature for input fields
@rjsf/primereact
- Updated
BaseInputTemplateto support theallowClearTextInputsfeature for input fields
@rjsf/react-bootstrap
- Updated
BaseInputTemplateto support theallowClearTextInputsfeature for input fields - Updated
WrapIfAdditionalTemplateto addmaxHeightfor the Remove button column, fixing #4684
@rjsf/semantic-ui
- Updated
BaseInputTemplateto support theallowClearTextInputsfeature for input fields
@rjsf/shadcn
- Updated
BaseInputTemplateto support theallowClearTextInputsfeature for input fields - Fixed issue
"ui:rows"option fortextareaelements, fixing #4903.
@rjsf/utils
- Fixed issue by adding new
allowClearTextInputsoption toGlobalUISchemaOptionstype, fixing #4671 - Fixed issue with default value not being prefilled when object with if/then is nested inside another object, fixing #4222
- Fixed issue with schema array with nested dependent fixed-length, fixing #3754
- Updated
CustomValidatortype to accepterrorSchema, so its implementation can be based on result of ajv validation (#4898) - Added
fieldPathIdtoFieldTemplatePropsto enable proper use ofonChangewith the requiredpathparameter, fixing #4897 - Fixed user formData being overwritten with defaults in schemas combining
anyOf/oneOfwith$refanddefaultat multiple levels, fixing #4918 - Fixed issue where nested
if/then/elseconditions lost values withliveOmitandomitExtraDataenabled, fixing #4450 - Refactored the
omitExtraData()function and its helpers fromForminto a newschema/omitExtraData.ts, fixing #4081
@rjsf/validator-ajv8
- Updated
processRawValidationErrorsto passerrorSchematocustomValidatefunction (#4898)
Dev / docs / playground
- Updated unit tests for
@rjsf/coreto convert them to typescript and jest - Updated the
utility-functions.mddocumentation for theomitExtraData()function