From 02276f142292f3d4e80d4de134a74c2135a86b7a Mon Sep 17 00:00:00 2001 From: Rob Snow Date: Mon, 2 Nov 2020 16:26:47 -0800 Subject: [PATCH] Pass along props so that the Listbox knows that it has been labelled --- packages/@react-aria/select/docs/useSelect.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/@react-aria/select/docs/useSelect.mdx b/packages/@react-aria/select/docs/useSelect.mdx index 0844f367295..8a7cc4f5bb8 100644 --- a/packages/@react-aria/select/docs/useSelect.mdx +++ b/packages/@react-aria/select/docs/useSelect.mdx @@ -190,7 +190,8 @@ function ListBoxPopup({state, ...otherProps}) { // Get props for the listbox let {listBoxProps} = useListBox({ autoFocus: state.focusStrategy || true, - disallowEmptySelection: true + disallowEmptySelection: true, + ...otherProps }, state, ref); // Handle events that should cause the popup to close,