diff --git a/CHANGELOG.md b/CHANGELOG.md index b5c3f9fd64..f2b14f6043 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,10 @@ it according to semantic versioning. For example, if your PR adds a breaking cha should change the heading of the (upcoming) version to include a major version bump. --> +# 5.12.2 + +- Fixed a faulty check of the `isMultiple` option in `MultiSchemaField` fixing the select element. It no longer offers multiple choice in a `oneOf` case in Chakra UI + # 5.12.1 ## @rjsf/validator-ajv8 diff --git a/packages/chakra-ui/src/SelectWidget/SelectWidget.tsx b/packages/chakra-ui/src/SelectWidget/SelectWidget.tsx index 234a22cf2e..3d347796e5 100644 --- a/packages/chakra-ui/src/SelectWidget/SelectWidget.tsx +++ b/packages/chakra-ui/src/SelectWidget/SelectWidget.tsx @@ -73,7 +73,7 @@ export default function SelectWidget(value, enumOptions, isMultiple); const formValue: any = isMultiple ? ((selectedIndex as string[]) || []).map((i: string) => {