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
The AutoSuggestBox has the ability to display a clear button allowing for setting the TextController to empty and removing focus. When clicking the clear button the onPressed callback is never called.
Click on the auto suggest box on the left side of the screen
Select one of the suggested choice
Click on the box to get focus
Click on the newly appeared cleat button on the right of the field.
Nothing happens.
Expected behavior
After step 5, the field is supposed to be cleared and the focus removed form it..
Additional context
I copied the code of the IconButton used to build the clear button. It works well on it's own. So the problem is localized inside the AutoSuggestBox widget itself.
@bdlukaa Although I have also had this issue I have seen another that may be related. When an element is chosen from the drop-down list, a change of type TextChangedReason.suggestionChosen is NOT being generated; instead TextChangedReason.userInput is always sent
Describe the bug
The
AutoSuggestBox
has the ability to display a clear button allowing for setting theTextController
to empty and removing focus. When clicking the clear button theonPressed
callback is never called.To Reproduce
Steps to reproduce the behavior:
Expected behavior
After step 5, the field is supposed to be cleared and the focus removed form it..
Additional context
I copied the code of the
IconButton
used to build the clear button. It works well on it's own. So the problem is localized inside theAutoSuggestBox
widget itself.Edit
To bypass the bug you can do the following:
The text was updated successfully, but these errors were encountered: