searchfield
searchfield copied to clipboard
onSuggestionTap onsubmit are invoked both
Describe the bug when I input something in the searchfield, and I use key to select one suggestion, when I press Enter, onSuggestionTap and onsubmit are invoked the same time, while only onSuggestionTap is expect to be invoked
To Reproduce Steps to reproduce the behavior: when I input something in the searchfield, and I use key to select one suggestion, when I press Enter, onSuggestionTap and onsubmit are invoked the same time, while only onSuggestionTap is expect to be invoked
[.] By clicking this checkbox, I confirm I am using the latest version of the package found on pub.dev/searchfield
Expected behavior A clear and concise description of what you expected to happen.
Actual behavior What you actually saw instead of the expected behavior.
Screenshots If applicable, add screenshots to help explain your problem.
Code sample
Show code sample
Paste minimal and complete code sample here to investigate the issue.
Additional context Add any other context about the problem here.