select icon indicating copy to clipboard operation
select copied to clipboard

move search box into popup

Open zombieJ opened this issue 6 years ago • 2 comments

Current design is little confuse user for diff the select with combobox. It's better to move the search box into popup.

ref: https://github.com/ant-design/ant-design/issues/9972#issuecomment-379690800

zombieJ avatar May 23 '18 11:05 zombieJ

我也有这样的需求,如果我想基于 select 组件封装一个 search 使其能够使用 select 的所有api,我应该怎么做? 能不能给 rc-select 提一个自定义搜索框的功能?

<Search
    defaultValue="lucy"
    style={{ width: 120 }}
    onChange={handleChange}
>
    <Option value="jack">Jack</Option>
    <Option value="lucy">Lucy</Option>
    <Option value="disabled" disabled>
      Disabled
    </Option>
    <Option value="Yiminghe">yiminghe</Option>
</Search>

chen-jingjie avatar Sep 10 '21 07:09 chen-jingjie

如果可以隐藏搜索框,那么我便可以通过 dropdownRendersearchValue 来实现我的需求了。

chen-jingjie avatar Sep 10 '21 07:09 chen-jingjie