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

AutoComplete删除最后一个字符后按Enter #7920

Open
1 task done
Hakityc opened this issue Nov 7, 2024 · 2 comments
Open
1 task done

AutoComplete删除最后一个字符后按Enter #7920

Hakityc opened this issue Nov 7, 2024 · 2 comments

Comments

@Hakityc
Copy link

Hakityc commented Nov 7, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.3

Environment

OS:Win 11;Browser: edge;Vue:v3.4.29

Reproduction link

https://www.antdv.com/components/auto-complete-cn

Steps to reproduce

  1. 在 Ant Design Vue 的 AutoComplete 组件中,输入一串字符。
  2. 删除最后一个字符。
  3. 按下 Enter 键。

What is expected?

删除最后一个字符后,按下 Enter 键时,AutoComplete 应该不会选中任何数据项。

What is actually happening?

按下 Enter 键时,AutoComplete 会选中已经消失的数据源中的第一项。

@Hakityc
Copy link
Author

Hakityc commented Nov 7, 2024

这是antd和antdv两个对比
ant-design
ant-design

ant-design-vue
ant-design-vue

@Hakityc
Copy link
Author

Hakityc commented Nov 7, 2024

#7018 (comment)
同样的问题,但并没有回应

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