Skip to content

Conversation

@justinmc
Copy link
Contributor

@justinmc justinmc commented May 19, 2023

This example was incorrectly throwing away results from a query when multiple queries were pending at once. Thanks to @sun-jiao in #127019 (comment) for pointing this out.

I also added a quick Text widget explaining what to do to use the examples. Since there are only three small possible options, it's easy to type into the field and not get any results and wonder what's wrong.

@justinmc justinmc self-assigned this May 19, 2023
@flutter-dashboard flutter-dashboard bot added d: api docs Issues with https://api.flutter.dev/ d: examples Sample code and demos documentation f: material design flutter/packages/flutter/material repository. c: contributor-productivity Team-specific productivity, code health, technical debt. labels May 19, 2023
Copy link
Contributor

@QuncCccccc QuncCccccc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice test:) LGTM!

mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Text('Type below to autocomplete the following possible results: ${_FakeAPI._kOptions}.'),
SizedBox(height: 32.0),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems the linux_analyze complains a missing const here:)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, thanks for pointing it out.

@justinmc justinmc added the autosubmit Merge PR when tree becomes green via auto submit App label May 22, 2023
@auto-submit auto-submit bot merged commit f6f5bb9 into flutter:master May 22, 2023
@justinmc justinmc deleted the autocomplete-async-example-fix branch May 22, 2023 17:25
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 22, 2023
auto-submit bot pushed a commit to flutter/packages that referenced this pull request May 22, 2023
flutter/flutter@ab57304...3437189

2023-05-22 [email protected] Roll Flutter Engine from f0f3fe729a91 to e04c14786d5a (10 revisions) (flutter/flutter#127325)
2023-05-22 [email protected] Fix bug in Autocomplete example (flutter/flutter#127219)
2023-05-22 [email protected] Roll Packages from 1e214d7 to 83959fb (9 revisions) (flutter/flutter#127322)
2023-05-22 [email protected] Roll Flutter Engine from aac09195688d to f0f3fe729a91 (16 revisions) (flutter/flutter#127292)
2023-05-22 [email protected] Add myself to AUTHORS (flutter/flutter#127298)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
CaseyHillers pushed a commit to CaseyHillers/flutter that referenced this pull request May 24, 2023
This example was incorrectly throwing away results from a query when multiple queries were pending at once.   Thanks to @sun-jiao in flutter#127019 (comment) for pointing this out.

I also added a quick  `Text` widget explaining what to do to use the examples.  Since there are only three small possible `options`, it's easy to type into the field and not get any results and wonder what's wrong.
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 16, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 17, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 17, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App c: contributor-productivity Team-specific productivity, code health, technical debt. d: api docs Issues with https://api.flutter.dev/ d: examples Sample code and demos f: material design flutter/packages/flutter/material repository.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants