Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

select组件多选+搜索情况下bug #1697

Open
dzjwan521 opened this issue Dec 12, 2023 · 0 comments
Open

select组件多选+搜索情况下bug #1697

dzjwan521 opened this issue Dec 12, 2023 · 0 comments

Comments

@dzjwan521
Copy link

 <Select
            multiple
            searchable
            placeholder="多选+搜索"
            onChange={handleChange}
          >
            <Option value="jack">Jack</Option>
            <Option value="lucy">Lucy</Option>
            <Option value="wu">Wu</Option>
            <Option disabled value="a1">a1</Option>
            <Option value="b2">b2</Option>
            <Option value="c3">c3</Option>
          </Select>

现象描述:
a1已经设置了禁用的状态,但是可以搜索的时候,当我直接输入a1 然后让这个控件失焦,这个被禁用的a1就被勾选了
期望搜索就是单纯的筛选,不需要默认选中匹配上的值,这样这个bug就解决了
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant