-
Notifications
You must be signed in to change notification settings - Fork 575
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
[Search]回车提交如果已在dataSource里为什么会触发两次onSearch #4049
Labels
improvement
improve some features
🏗 Need Reproduce
A demo(codepen/codesandbox) is needed
Next release
issues to close in next release
Comments
https://codepen.io/xmsz/pen/wvjzyym 我少打了 需要配合 |
第一次是输入框回车触发的,第二次是高亮元素触发的 |
那我改如何避免 |
YunMeng99
added a commit
that referenced
this issue
Nov 14, 2023
YunMeng99
added a commit
that referenced
this issue
Nov 15, 2023
Merged
YSMJ1994
added a commit
that referenced
this issue
Nov 16, 2023
YSMJ1994
added a commit
that referenced
this issue
Nov 16, 2023
YSMJ1994
added a commit
that referenced
this issue
Nov 16, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
improvement
improve some features
🏗 Need Reproduce
A demo(codepen/codesandbox) is needed
Next release
issues to close in next release
Component
Search
Feature Description
背景
用户输入a,然后回车,会触发两次onSearch
触发条件是必须满足value存在于datasource
如果用户输入后,手动点击提交 => 正常
如果用户输入value,但不存在与datasource,回车提交 => 正常
需求
The text was updated successfully, but these errors were encountered: