From 443bc62425e6019285241afd8d5db17df32f03ec Mon Sep 17 00:00:00 2001 From: Karol Rzotki Date: Tue, 30 Jul 2024 11:19:27 +0200 Subject: [PATCH] fix test --- src/components/select-menu/SelectMenu.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/select-menu/SelectMenu.tsx b/src/components/select-menu/SelectMenu.tsx index 2888c94bf..acc7c0646 100644 --- a/src/components/select-menu/SelectMenu.tsx +++ b/src/components/select-menu/SelectMenu.tsx @@ -234,7 +234,7 @@ const SelectMenu = React.forwardRef( }); const {isExpanded, onOpenChange, handleOptionSelect} = useSelectMenu({ - id, + id: selectId, valid, invalid, expanded, @@ -476,7 +476,7 @@ const SelectMenu = React.forwardRef( pointerEvents: 'auto', }} {...interactionsFloatingProps} - aria-labelledby={id} + aria-labelledby={selectId} tabIndex={-1} data-placement={floatingProps.placement} aria-multiselectable={multiSelect}