You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After setting suggestionDirection = SuggestionDirection.up, tapping an element from suggestion list throws index out of bound exception
To Reproduce
Steps to reproduce the behavior:
Add suggestionDirection: SuggestionDirection.up in the searchfield widget.
Run the example application (I tried on the web)
Tap on the search field
Select any element from the suggestion list
the element won't appear selected on the text field and console will show index out of bound exception
[Yes] By clicking this checkbox, I confirm I am using the latest version of the package found on pub.dev/searchfield
Expected behavior
Element from suggestions should get selected and show on the text field without index out of bound exception.
Actual behavior
Element from suggestions doesn't get selected and throws index out of bound exception.
Screenshots
If applicable, add screenshots to help explain your problem.
Thanks for filing the issue and I really appreciate the PR. I was able to reproduce the issue.
maheshj01
added
bug
Something isn't working
P1
High Priority: This is a show stopper and must be addressed immediately
and removed
in triage
Issue is currently being triaged
labels
Jan 27, 2025
Describe the bug
After setting suggestionDirection = SuggestionDirection.up, tapping an element from suggestion list throws index out of bound exception
To Reproduce
Steps to reproduce the behavior:
[Yes] By clicking this checkbox, I confirm I am using the latest version of the package found on pub.dev/searchfield
Expected behavior
Element from suggestions should get selected and show on the text field without index out of bound exception.
Actual behavior
Element from suggestions doesn't get selected and throws index out of bound exception.
Screenshots
If applicable, add screenshots to help explain your problem.
Code sample
Show code sample
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: