Skip to content

AutoComplete设置allowClear后输入第一个字符在filterOption中返回false未命中时会自动清除input导致无法继续输入 #8124

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

Open
1 task
wangqian0628 opened this issue Apr 12, 2025 · 1 comment

Comments

@wangqian0628
Copy link

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

Version

4.2.6

Environment

所有浏览器

Reproduction link

https://github.com/vueComponent/ant-design-vue

Steps to reproduce

AutoComplete设置allowClear后输入第一个字符在filterOption中返回false未命中时会自动清除input导致无法继续输入

What is expected?

光标闪烁清除导致无法输入

What is actually happening?

光标闪烁清除导致无法输入

@wangqian0628
Copy link
Author

发现了具体的规律:
AutoComplete设置allowClear后输入第一个字符在filterOption中返回false未命中时会自动清除input导致无法继续输入,删除allowClear后正常。

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