5.0.0-beta.16
Pre-release
Pre-release
·
754 commits
to main
since this release
@rjsf/antd
- Updated the usage of the
ButtonTemplatesto pass the new requiredregistryprop, filtering it out in the actual implementations before spreading props, fixing - #3314 - Updated the test for the
CheckboxWidgetvalidating that theschema.titleis passed as the label, fixing #3302 - Updated the theme to accept generic types, exporting
generateXXXfunctions forForm,Theme,TemplatesandWidgetsto support using the theme with user-specified type generics, partially fixing #3072 - Updated the use of the deprecated
withConfigConsumerwith theConfigConsumercomponent instead, fixing #3336
@rjsf/bootstrap-4
- Updated the usage of the
ButtonTemplatesto pass the new requiredregistryprop, filtering it out in the actual implementations before spreading props, fixing - #3314 - Updated
CheckboxWidgetto get therequiredstate of the checkbox from theschemaRequiresTrueValue()utility function rather than therequiredprop, fixing #3317 - Updated the test for the
CheckboxWidgetvalidating that theschema.titleis passed as the label, fixing #3302 - Updated the theme to accept generic types, exporting
generateXXXfunctions forForm,Theme,TemplatesandWidgetsto support using the theme with user-specified type generics, partially fixing #3072
@rjsf/chakra-ui
- Updated the usage of the
ButtonTemplatesto pass the new requiredregistryprop, filtering it out in the actual implementations before spreading props, fixing - #3314 - Updated
CheckboxWidgetto get therequiredstate of the checkbox from theschemaRequiresTrueValue()utility function rather than therequiredprop, fixing #3317 - Updated the test for the
CheckboxWidgetvalidating that theschema.titleis passed as the label, fixing #3302 - Updated the theme to accept generic types, exporting
generateXXXfunctions forForm,Theme,TemplatesandWidgetsto support using the theme with user-specified type generics, partially fixing #3072
@rjsf/core
- Updated the usage of the
ButtonTemplatesto pass the new requiredregistryprop, filtering it out in the actual implementations before spreading props, fixing - #3314- Also, passed
registryinto theSubmitButtoninside of theFormas part of this fix
- Also, passed
- Updated
ArrayFieldto pass the newtotalItemsandcanAddprops to theArrayFieldItemTemplateinstances, fixing #3315- Also refactored the near duplicate logic for
onAddClickandonAddIndexClickinto a new_handleAddClick()function, fixing #3316
- Also refactored the near duplicate logic for
- Fix passing of generic types to a few helper methods, partially fixing #3072
- Updated the types for
ValidatorType,CustomValidatorandErrorTransformerto add the new generics, as well as passinguiSchemato thevalidateFormData()call, partially fixing #3170
@rjsf/fluent-ui
- Updated the usage of the
ButtonTemplatesto pass the new requiredregistryprop, filtering it out in the actual implementations before spreading props, fixing - #3314 - Updated the test for the
CheckboxWidgetvalidating that theschema.titleis passed as the label, fixing #3302 - Updated the theme to accept generic types, exporting
generateXXXfunctions forForm,Theme,TemplatesandWidgetsto support using the theme with user-specified type generics, partially fixing #3072
@rjsf/material-ui
- Updated the usage of the
ButtonTemplatesto pass the new requiredregistryprop, filtering it out in the actual implementations before spreading props, fixing - #3314 - Updated the test for the
CheckboxWidgetvalidating that theschema.titleis passed as the label, fixing #3302 - Updated the theme to accept generic types, exporting
generateXXXfunctions forForm,Theme,TemplatesandWidgetsto support using the theme with user-specified type generics, partially fixing #3072
@rjsf/mui
- Updated the usage of the
ButtonTemplatesto pass the new requiredregistryprop, filtering it out in the actual implementations before spreading props, fixing - #3314 - Updated the test for the
CheckboxWidgetvalidating that theschema.titleis passed as the label, fixing #3302 - Updated the theme to accept generic types, exporting
generateXXXfunctions forForm,Theme,TemplatesandWidgetsto support using the theme with user-specified type generics, partially fixing #3072
@rjsf/semantic-ui
- Updated the usage of the
ButtonTemplatesto pass the new requiredregistryprop, filtering it out in the actual implementations before spreading props, fixing - #3314 - Updated
CheckboxWidgetto get therequiredstate of the checkbox from theschemaRequiresTrueValue()utility function rather than therequiredprop, fixing #3317- Also fixed the
CheckboxWidgetmissing label issue #3302
- Also fixed the
- Updated the test for the
CheckboxWidgetvalidating that theschema.titleis passed as the label, fixing #3302 - Updated the theme to accept generic types, exporting
generateXXXfunctions forForm,Theme,TemplatesandWidgetsto support using the theme with user-specified type generics, partially fixing #3072
@rjsf/utils
- Updated the
SubmitButtonPropsandIconButtonPropsto add requiredregistryprop, fixing - #3314 - Updated the
ArrayFieldTemplateItemTypeto add the newtotalItemsandcanAddprops, fixing #3315 - Updated the
CustomValidatorandErrorTransformertypes to take the full set ofT,S,Fgenerics in order to accept a new optionaluiSchemaproperty, partially fixing #3170 - Updated the
ValidatorTypeto add theFgeneric to allow thevalidateFormData()function to take a new optionaluiSchemaparameter, partially fixing #3170- Updated many of the schema-based utility functions to take the additional generics as well to fulfill the
ValidatorTypeinterface change
- Updated many of the schema-based utility functions to take the additional generics as well to fulfill the
@rjsf/validator-ajv6
- Updated the
customizeValidatorandAJV6Validatorimplementations to add theSandFgenerics, so thatvalidateFormData()can accept a new optionaluiSchemaparameter that is passed totransformErrors()andcustomValidate(), partially fixing #3170
@rjsf/validator-ajv8
- Updated the
customizeValidatorandAJV8Validatorimplementations to add theFgeneric, so thatvalidateFormData()can accept a new optionaluiSchemaparameter that is passed totransformErrors()andcustomValidate(), partially fixing #3170
Dev / docs / playground
- Fixed the documentation for
ArrayFieldItemTemplate,SubmitButtonPropsandIconButtonPropsas part of the fix for #3314 and #3315 - Updated the documentation in
form-props.mdforchildren, fixing #3322 - Added new
typescript.mddocumentation toAdvanced Customizationdescribing how to use custom generics as part of the fix for #3072 - Updated the documentation in
utilty-functions.mdto add the newFgeneric to all the places which needed them