Skip to content

Crash on macOS when using backspace in GooglePlaceAutoCompleteTextFie #236

@ivanknezevichotmail

Description

@ivanknezevichotmail

Flutter version 3.32.0 on channel stable at
/Users/temp/Development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision be698c48a6 (9 days ago), 2025-05-19 12:59:14 -0700
• Engine revision 1881800949
• Dart version 3.8.0
• DevTools version 2.45.1

google_places_flutter Package Version: 2.0.6

Steps to Reproduce:

  1. Create a new Flutter project.
  2. Add google_places_flutter: ^2.0.6 to pubspec.yaml.
  3. Create a simple screen with just a GooglePlaceAutoCompleteTextField." (Provide a minimal code snippet if possible, like the one we tested where only this widget was present).
  4. Run the app on macOS (flutter run -d macos).
  5. Navigate to the screen with the text field.
  6. Type a character into the GooglePlaceAutoCompleteTextField.
  7. Press the delete/backspace key.

Expected Behavior: The character should be deleted without errors, and the field should remain focused.
Actual Behavior:
Console shows repeated 'Unable to find an action for an Intent with type DeleteCharacterIntent' errors.
The text field may lose focus.
(If it crashes for you without you closing it)
The autocomplete suggestions may or may not appear before the error occurs.

The API key is correctly configured and works (as evidenced by the brief period it functioned without restrictions).
The issue is specific to the GooglePlaceAutoCompleteTextField on macOS, as a standard TextFormField works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions