We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cc99c3 commit 2ea36bbCopy full SHA for 2ea36bb
src/utils/warningPropsUtil.ts
@@ -26,9 +26,8 @@ function warningProps(props: SelectProps) {
26
optionLabelProp,
27
} = props;
28
29
- const mergedShowSearch =
30
- showSearch !== undefined ? showSearch : mode === 'tags' || mode === 'combobox';
31
const multiple = mode === 'multiple' || mode === 'tags';
+ const mergedShowSearch = showSearch !== undefined ? showSearch : multiple || mode === 'combobox';
32
const mergedOptions = options || convertChildrenToData(children);
33
34
// `tags` should not set option as disabled
0 commit comments