5.0.0-beta.11
Pre-release
Pre-release
·
819 commits
to main
since this release
@rjsf/antd
- Updated
FieldTemplateto no longer render additional, unnecessary white space for fields that have emptyhelpandextrainformation, fixing #3147 - Updated
ArrayFieldTemplateto always renderArrayFieldDescriptionTemplatesince that template deals with the optionaldescription - Pass the
schemainto theArrayFieldDescriptionTemplate,ArrayFieldTitleTemplate,DescriptionFieldTemplateandTitleFieldTemplate, fixing #3176
@rjsf/bootstrap-4
- Make label generation consistent with other themes by refactoring the code into the
FieldTemplateinstead of having the widgets implementing the label, fixing #2007 - Updated
ArrayFieldTemplateto always renderArrayFieldDescriptionTemplatesince that template deals with the optionaldescription - Pass the
schemainto theArrayFieldDescriptionTemplate,ArrayFieldTitleTemplate,DescriptionFieldTemplateandTitleFieldTemplate, fixing #3176
@rjsf/chakra-ui
- Added support for
chakra-react-selectv4, fixing #3152 - In
SelectWidgetuseSelectfromchakra-react-selectfor both single- and multiple-choice select - In
SelectWidgetmultiple-choice select display label rather than value for selected items - Updated
ArrayFieldTemplateto always renderArrayFieldDescriptionTemplatesince that template deals with the optionaldescription - Pass the
schemainto theArrayFieldDescriptionTemplate,ArrayFieldTitleTemplate,DescriptionFieldTemplateandTitleFieldTemplate, fixing #3176
@rjsf/core
- Extended
Form.onChangeto optionally return theidof the field that caused the change, fixing #2768 - Fixed a regression in earlier v5 beta versions where additional properties could not be added when
additionalPropertieswastrue(#3719). - Fixed a regression in v5 beta version where BooleanField was altering readonly props (#3188.
- Updated
ArrayFieldDescriptionTemplateandArrayFieldTitleTemplateto not render content whenui:labelis false, fixing #2535 - Updated
ArrayFieldTemplateto always renderArrayFieldDescriptionTemplatesince that template deals with the optionaldescription - Pass the
schemainto theArrayFieldDescriptionTemplate,ArrayFieldTitleTemplate,DescriptionFieldTemplateandTitleFieldTemplate, fixing #3176
@rjsf/fluent-ui
- Updated
ArrayFieldTemplateto always renderArrayFieldDescriptionTemplatesince that template deals with the optionaldescription - Pass the
schemainto theArrayFieldDescriptionTemplate,ArrayFieldTitleTemplate,DescriptionFieldTemplateandTitleFieldTemplate, fixing #3176
@rjsf/material-ui
- Updated
ArrayFieldTemplateto always renderArrayFieldDescriptionTemplatesince that template deals with the optionaldescription - Pass the
schemainto theArrayFieldDescriptionTemplate,ArrayFieldTitleTemplate,DescriptionFieldTemplateandTitleFieldTemplate, fixing #3176
@rjsf/mui
- Updated
ArrayFieldTemplateto always renderArrayFieldDescriptionTemplatesince that template deals with the optionaldescription - Pass the
schemainto theArrayFieldDescriptionTemplate,ArrayFieldTitleTemplate,DescriptionFieldTemplateandTitleFieldTemplate, fixing #3176
@rjsf/semantic-ui
- Updated
ArrayFieldTemplateto always renderArrayFieldDescriptionTemplatesince that template deals with the optionaldescription - Pass the
schemainto theArrayFieldDescriptionTemplate,ArrayFieldTitleTemplate,DescriptionFieldTemplateandTitleFieldTemplate, fixing #3176
@rjsf/utils
- Updated the
onChangeprop onFieldPropsandFieldTemplatePropsto add an optionalidparameter to the callback. - BREAKING CHANGE: Updated the
DescriptionFieldPropsandTitleFieldPropsto add a new requiredschemaprop. Also updated theArrayFieldDescriptionTemplateandArrayFieldTitleTemplateto makedescriptionandtitleoptional while pulling all the other props butidfrom the associated type.
Dev / docs / playground
- Added an error boundary to prevent the entire app from crashing when an error is thrown by Form. See #3164 for closed issues.
- Updated the playground to log the
idof the field being changed on theonChangehandler - Updated
form-props.mdto describe the newidparameter being returned by theForm.onChangehandler - Updated
custom-templates.mdto add the newschemaprop to theArrayFieldDescriptionTemplate,ArrayFieldTitleTemplate,DescriptionFieldTemplateandTitleFieldTemplatedocumentation - Updated the
contributing.mdto describe setting up thehuskyprecommit hooks for the first timegit cloneof the repo; Also added guidance for developing on underpowered computers; Finally discussed code-coverage requirements for some packages.