From b5c608347e4bbde870b612448316351bcda8a4eb Mon Sep 17 00:00:00 2001 From: Ian Bolton Date: Thu, 15 Feb 2024 09:46:05 -0500 Subject: [PATCH] Disable if no selectable option --- .../app/components/FilterToolbar/MultiselectFilterControl.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/app/components/FilterToolbar/MultiselectFilterControl.tsx b/client/src/app/components/FilterToolbar/MultiselectFilterControl.tsx index 94115b111e..0c7696b8fd 100644 --- a/client/src/app/components/FilterToolbar/MultiselectFilterControl.tsx +++ b/client/src/app/components/FilterToolbar/MultiselectFilterControl.tsx @@ -303,6 +303,7 @@ export const MultiselectFilterControl = ({ setIsFilterDropdownOpen(!isFilterDropdownOpen); }} isExpanded={isFilterDropdownOpen} + isDisabled={isDisabled || !selectOptions.length} isFullWidth >