From 2c85261d7fc0c877450d2fe4f356ee4aa0a2bd81 Mon Sep 17 00:00:00 2001 From: Vladimir Semenov Date: Tue, 7 Oct 2025 12:09:03 +0300 Subject: [PATCH] fix --- packages/@react-stately/select/src/useSelectState.ts | 4 ++-- packages/@react-types/select/src/index.d.ts | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/@react-stately/select/src/useSelectState.ts b/packages/@react-stately/select/src/useSelectState.ts index 70e2c14802f..176cbf02bba 100644 --- a/packages/@react-stately/select/src/useSelectState.ts +++ b/packages/@react-stately/select/src/useSelectState.ts @@ -162,13 +162,13 @@ export function useSelectState extends Coll /** Sets the default open state of the menu. */ defaultOpen?: boolean, /** Method that is called when the open state of the menu changes. */ - onOpenChange?: (isOpen: boolean) => void + onOpenChange?: (isOpen: boolean) => void, + /** Whether the select should be allowed to be open when the collection is empty. */ + allowsEmptyCollection?: boolean } export interface AriaSelectProps extends SelectProps, DOMProps, AriaLabelingProps, FocusableDOMProps {