5.0.0-beta.17
Pre-release
Pre-release
·
743 commits
to main
since this release
@rjsf/antd
- Enable searching in the
SelectWidgetby the label that the user sees rather than by the value - Added support for new
styleprop onFieldTemplateandWrapIfAdditionalTemplaterendering them on the outermost wrapper, partially fixing #1200 - Updated all the user "input" controls to have an
aria-describedbyvalue built using theariaDescribedByIds()function, partially fixing #959- Also updated the generation of ids for the title, description, error, examples, options and help blocks using the associated new id generation utilty functions
@rjsf/bootstrap-4
- Added support for new
styleprop onFieldTemplateandWrapIfAdditionalTemplaterendering them on the outermost wrapper, partially fixing #1200 - Updated
CheckboxesWidgetto treat the value as an array when selecting/deselecting values and when determining the checked state - fixing #2141 - Updated all the user "input" controls to have an
aria-describedbyvalue built using theariaDescribedByIds()function, partially fixing #959- Also updated the generation of ids for the title, description, error, examples, options and help blocks using the associated new id generation utilty functions
@rjsf/chakra-ui
- Added support for new
styleprop onFieldTemplateandWrapIfAdditionalTemplaterendering them on the outermost wrapper, partially fixing #1200 - Updated
CheckboxesWidgetto treat the value as an array when selecting/deselecting values and when determining the checked state - fixing #2141 - Updated all the user "input" controls to have an
aria-describedbyvalue built using theariaDescribedByIds()function, partially fixing #959- Also updated the generation of ids for the title, description, error, examples, options and help blocks using the associated new id generation utilty functions
@rjsf/core
- Updated
SchemaFieldto handle the newstyleprop in theuiSchemasimilarly toclassNames, passing it to theFieldTemplateand removing it from being passed down to children.- Also, added support for new
styleprop onFieldTemplateandWrapIfAdditionalTemplaterendering them on the outermost wrapper - This partially fixes #1200
- Also, added support for new
- Updated
CheckboxesWidgetto treat the value as an array when selecting/deselecting values and when determining the checked state - fixing #2141 - Updated all the user "input" controls to have an
aria-describedbyvalue built using theariaDescribedByIds()function, partially fixing #959- Also updated the generation of ids for the title, description, error, examples, options and help blocks using the associated new id generation utilty functions
@rjsf/fluent-ui
- Added support for new
styleprop onFieldTemplaterendering them on the outermost wrapper, partially fixing #1200 - Updated
CheckboxesWidgetto treat the value as an array when selecting/deselecting values and when determining the checked state - fixing #2141 - Updated all the user "input" controls to have an
aria-describedbyvalue built using theariaDescribedByIds()function, partially fixing #959- Also updated the generation of ids for the title, description, error, examples, options and help blocks using the associated new id generation utilty functions
@rjsf/material-ui
- Updated
SelectWidgetto support additionalTextFieldPropsin a manner similar to howBaseInputTemplatedoes - Added support for new
styleprop onFieldTemplateandWrapIfAdditionalTemplaterendering them on the outermost wrapper, partially fixing #1200 - Updated
CheckboxesWidgetto treat the value as an array when selecting/deselecting values and when determining the checked state - fixing #2141 - Updated all the user "input" controls to have an
aria-describedbyvalue built using theariaDescribedByIds()function, partially fixing #959- Also updated the generation of ids for the title, description, error, examples, options and help blocks using the associated new id generation utilty functions
@rjsf/mui
- Updated
SelectWidgetto support additionalTextFieldPropsin a manner similar to howBaseInputTemplatedoes - Added support for new
styleprop onFieldTemplateandWrapIfAdditionalTemplaterendering them on the outermost wrapper, partially fixing #1200 - Updated
CheckboxesWidgetto treat the value as an array when selecting/deselecting values and when determining the checked state - fixing #2141 - Updated all the user "input" controls to have an
aria-describedbyvalue built using theariaDescribedByIds()function, partially fixing #959- Also updated the generation of ids for the title, description, error, examples, options and help blocks using the associated new id generation utilty functions
@rjsf/semantic-ui
- Added support for new
styleprop onFieldTemplateandWrapIfAdditionalTemplaterendering them on the outermost wrapper, partially fixing #1200 - Updated
CheckboxesWidgetto treat the value as an array when selecting/deselecting values and when determining the checked state - fixing #2141 - Updated all the user "input" controls to have an
aria-describedbyvalue built using theariaDescribedByIds()function, partially fixing #959- Also updated the generation of ids for the title, description, error, examples, options and help blocks using the associated new id generation utilty functions
@rjsf/utils
- Updated the
FieldTemplateProps,WrapIfAdditionalTemplatePropsandUIOptionsBaseTypetypes to addstyle?: StyleHTMLAttributes<any>, partially fixing #1200 - Added
enumOptionsDeselectValue()andenumOptionsSelectValue()as a loose refactor of the duplicated functions in the variousCheckboxesWidgetimplementations - Updated the
FieldTemplateProps,WrapIfAdditionalTemplatePropsandUIOptionsBaseTypetypes to addstyle?: StyleHTMLAttributes<any>, partially fixing #1200 - Added new
ariaDescribedByIds(),descriptionId(),errorId(),examplesId(),helpId()optionId()andtitleId()id generator functions
@rjsf/validator-ajv8
- Remove alias for ajv -> ajv8 in package.json. This fixes #3215.
- Updated
AJV8Validator#transformRJSFValidationErrorsto return more human-readable error messages. The ajv8ErrorObjectmessage is enhanced by replacing the error message field with either theuiSchema'sui:titlefield if one exists or theparentSchematitle if one exists. Fixes #3246
Dev / docs / playground
- In the playground, change Vite
preserveSymlinkstotrue, which provides an alternative fix for #3228 since the prior fix caused #3215. - Updated the
custom-templates.mdanduiSchema.mdto document the newstyleprop - Updated the
validation.mddocumentation to describe the newuiSchemaparameter passed to thecustomValidate()andtransformError()functions - Updated the
utility-functionsdocumentation to add the newenumOptionsDeselectValue()andenumOptionsSelectValue()functions and to describe the new id generator functions - Updated the
5.x migration guidedocumentation to describe potential breakingidchanges