Skip to content

antd@4.20.0版本的Select组件分词有问题 #35304

@bibiehy

Description

@bibiehy

Reproduction link

Edit on CodeSandbox

Steps to reproduce

1、复制 China 粘贴进去可以筛选出来
2、复制 China,USA 粘贴进去,无法粘贴

What is expected?

在mode="multiple" tokenSeparators={[',']}设置下,可以支持粘贴 China,USA

What is actually happening?

不能按分词来粘贴

Environment Info
antd 4.20.0
React 16.13.1
System windows10
Browser 谷歌

!!补充说明:antd@4.17.4版本可以,以上的不行

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions