)]}'
{
  "commit": "35dad2cb05abe411b76c7f67a7f81c5eaeebd63d",
  "tree": "ce1e59711f05216f505ad5504a580f1981cb3ed9",
  "parents": [
    "83f6dd47377ebcb60ad17a09511b369cfad73200"
  ],
  "author": {
    "name": "Qun Cheng",
    "email": "36861262+QuncCccccc@users.noreply.github.com",
    "time": "Thu Mar 12 17:43:19 2026 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Mar 13 00:43:19 2026 +0000"
  },
  "message": "Fix reselection issue after the text is cleared (#183545)\n\nFixes https://github.com/flutter/flutter/issues/182927\n\nThis PR is to fix a Autocomplete re-selection issue when an option is\ncleared up and re-selected again. When `_select()` is called,\n`_selecting` is set to `true` and the `_textEditingController` is\nupdated which caused `_onChangedField()` be called but returned early.\nIn this case, we should update `_lastFieldText` to the `newSelection`.\n\n## Pre-launch Checklist\n\n- [x] I read the [Contributor Guide] and followed the process outlined\nthere for submitting PRs.\n- [x] I read the [AI contribution guidelines] and understand my\nresponsibilities, or I am not using AI tools.\n- [x] I read the [Tree Hygiene] wiki page, which explains my\nresponsibilities.\n- [x] I read and followed the [Flutter Style Guide], including [Features\nwe expect every widget to implement].\n- [x] I signed the [CLA].\n- [x] I listed at least one issue that this PR fixes in the description\nabove.\n- [x] I updated/added relevant documentation (doc comments with `///`).\n- [x] I added new tests to check the change I am making, or this PR is\n[test-exempt].\n- [x] I followed the [breaking change policy] and added [Data Driven\nFixes] where supported.\n- [x] All existing and new tests are passing.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3343d38315cc32bef23699f56ea7248724ed7b6c",
      "old_mode": 33188,
      "old_path": "packages/flutter/test/material/autocomplete_test.dart",
      "new_id": "3b58f494e0d435d018431acb664b9fc7af9a59c5",
      "new_mode": 33188,
      "new_path": "packages/flutter/test/material/autocomplete_test.dart"
    }
  ]
}
