Skip to content

Commit

Permalink
Disable if no selectable option
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolton336 committed Feb 15, 2024
1 parent 1afc6c6 commit b5c6083
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ export const MultiselectFilterControl = <TItem,>({
setIsFilterDropdownOpen(!isFilterDropdownOpen);
}}
isExpanded={isFilterDropdownOpen}
isDisabled={isDisabled || !selectOptions.length}
isFullWidth
>
<TextInputGroup isPlain>
Expand Down

0 comments on commit b5c6083

Please sign in to comment.