From 16f0dafde972061c12e9f099fda9b3a666315b4b Mon Sep 17 00:00:00 2001 From: Guilherme Datilio Ribeiro Date: Thu, 6 Jun 2024 15:30:03 -0300 Subject: [PATCH] fix: fixed VO when typing a value (#16647) Co-authored-by: Gururaj J <89023023+Gururajj77@users.noreply.github.com> --- packages/react/src/components/ComboBox/ComboBox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/components/ComboBox/ComboBox.tsx b/packages/react/src/components/ComboBox/ComboBox.tsx index a6c85a6323c9..a9b88d534495 100644 --- a/packages/react/src/components/ComboBox/ComboBox.tsx +++ b/packages/react/src/components/ComboBox/ComboBox.tsx @@ -639,9 +639,9 @@ const ComboBox = forwardRef( type="text" tabIndex={0} aria-haspopup="listbox" - aria-owns={getMenuProps().id} title={textInput?.current?.value} {...getInputProps({ + 'aria-controls': isOpen ? undefined : getMenuProps().id, placeholder, ref: { ...mergeRefs(textInput, ref) }, onKeyDown: (