Skip to content

Commit 5b33290

Browse files
authored
bug(Select): Remove checkbox from no results found option (#10163)
1 parent 38736a1 commit 5b33290

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/react-core/src/components/Select/examples/SelectMultiTypeaheadCheckbox.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,12 @@ export const SelectMultiTypeaheadCheckbox: React.FunctionComponent = () => {
4444
// When no options are found after filtering, display 'No results found'
4545
if (!newSelectOptions.length) {
4646
newSelectOptions = [
47-
{ isDisabled: false, children: `No results found for "${inputValue}"`, value: 'no results' }
47+
{
48+
isDisabled: false,
49+
children: `No results found for "${inputValue}"`,
50+
value: 'no results',
51+
hasCheckbox: false
52+
}
4853
];
4954
}
5055

0 commit comments

Comments
 (0)