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

[Bug Report] [Bug Report] el-cascader 多选筛选中文输入法输入拼音回退导致之前的项被删除 #22962

Open
xwwww opened this issue Sep 10, 2024 · 2 comments

Comments

@xwwww
Copy link

xwwww commented Sep 10, 2024

Element UI version

2.15.14

OS/Browsers version

ALL

Vue version

2.7.16

Reproduction Link

https://codepen.io/xwwww/pen/WNqPPBa

Steps to reproduce

多选选中几项,输入拼音然后删除,会把前面的项删掉,问题应该出现 handleDelete 方法里

What is Expected?

删除拼音,对前面已选中无影响

What is actually happening?

删除拼音,会把前面的项删掉

@xwwww
Copy link
Author

xwwww commented Sep 10, 2024

试了下,element-plus 也有同样的问题

@xwwww
Copy link
Author

xwwww commented Sep 10, 2024

看了下代码,没有判断是否是输入中文,提了 pr: https://github.com/ElemeFE/element/pull/22963/files

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