ant-design select多选再次点击输入框搜索条件清空的限制

6mzjoqzu  于 2022-12-31  发布在  其他
关注(0)|答案(3)|浏览(649)
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

多选select,支持搜索的时候,例如:输入a,找到搜索结果,但是此时不在下拉框中选择,点击的是输入框,这时输入框中的a会被清空,只能重新输入,希望有一个api可以做到不清空。

What does the proposed API look like?

期待和现有api:autoClearSearchValue一样,对于多选下拉框点击输入框时的内容清空做到可控的效果(目前autoClearSearchValue无法做到)。

z4bn682m

z4bn682m1#

看不太懂。
期待和现有api:autoClearSearchValue一样

目前autoClearSearchValue无法做到

p8h8hvxi

p8h8hvxi2#

多选select,支持搜索的时候,例如:输入a,找到搜索结果,但是此时不在下拉框中选择,点击的是输入框,这时输入框中的a会被清空,只能重新输入,希望有一个api可以做到不清空。
官网复现链接:https://ant.design/components/select-cn/#components-select-demo-multiple

相关问题