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
DropdownMenu does not highlight correct selected item #147516
Comments
Maybe related to #147253? |
Note that with |
indeed seems related |
Thanks for the update. I was able to replicate the reported behavior. stable, master flutter doctor -v
|
Thanks for filing this issue! The default searching algorithm is to find the first matching item which contains the queried text. We can use |
Steps to reproduce
With the following code, when item with label
test
is selected the item with labelmy test
is selected instead, Although the object has different uuid. if I selectbla
ortest 1
then it works as expected.Expected results
if I select
test
thentest
should be highlighted the next time the menu is opened.Actual results
With the following code, when item with label
test
is selected the item with labelmy test
is selected instead, Although the object has different uuid. if I selectbla
ortest 1
then it works as expected.Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: