Repository: ant-design
Issue: Select组件配置autoClearSearchValue为false时导致showSearch配置失效
Labels: 🐛 Bug,Inactive

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/duo-xuan-antd-5-13-2-forked-hqzyh5?layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522cls2vn0hh0006356i4fqs5dkj%2522%252C%2522sizes%2522%253A%255B70%252C30%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522cls2vn0hh0002356itkqtxn5z%2522%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522cls2vn0hh0003356i6gumtv66%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522cls2vn0hh0005356ii7kfq0i3%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B40%252C60%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522cls2vn0hh0002356itkqtxn5z%2522%253A%257B%2522id%2522%253A%2522cls2vn0hh0002356itkqtxn5z%2522%252C%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522cls2yvr11001x356inap6shgm%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252Fdemo.tsx%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%255D%252C%2522activeTabId%2522%253A%2522cls2yvr11001x356inap6shgm%2522%257D%252C%2522cls2vn0hh0005356ii7kfq0i3%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522cls2vn0hh0004356i1vqs2kl5%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522UNASSIGNED_PORT%2522%252C%2522port%2522%253A0%252C%2522path%2522%253A%2522%252F%2522%257D%255D%252C%2522id%2522%253A%2522cls2vn0hh0005356ii7kfq0i3%2522%252C%2522activeTabId%2522%253A%2522cls2vn0hh0004356i1vqs2kl5%2522%257D%252C%2522cls2vn0hh0003356i6gumtv66%2522%253A%257B%2522tabs%2522%253A%255B%255D%252C%2522id%2522%253A%2522cls2vn0hh0003356i6gumtv66%2522%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Atrue%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D)

### Steps to reproduce


1.给一个Select组件配置mode="multiple"，此时showSearch默认为true，Select组件展开后可筛选。
2.修改showSearch为false，此时Select组件不可筛选。
3.配置autoClearSearchValue={false},此时Select组件又变为可筛选状态，第二步showSearch为false的配置失效。


### What is expected?

autoClearSearchValue不影响Select组件筛选功能是否开启。

### What is actually happening?

autoClearSearchValue为false会直接开启Select组件的筛选功能。

| Environment | Info |
| --- | --- |
| antd | 5.13.2 |
| React | 18.0.0 |
| System | win10 |
| Browser | chrome120.0.6099.225 |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->