Problem/Motivation

I am using Drupal 10.2.5. I have a text field which uses the Google Places Autocomplete widget. It used to work fine, but something happened.

I have this module configured using the Key module. In Google API, I have a key set up with restrictions to IP addresses. Previously, I had no restrictions. I believe all of the necessary Google API services are enabled. For the key itself, I'm using the "Authentication" type and putting the Google key in the value field.

I don't see any log reports about any failures. Google is not pulling any data for the Places API. There seems to be a connection issue. I may try creating another API key in Google. This helped with the recaptcha modules.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

rraney created an issue.

ronraney’s picture

There are no errors in Console. I also don't see any kind of connection to Google in "Sources" when I inspect the page. When I inspect the Elements, I don't see any evidence of Map API code, scripts or anything. It's like the widget isn't loading into the content form.

We use a Google Places Autocomplete widget for a text field in a content type. In the content form, nothing happens when we start typing.

ronraney’s picture

I'm considering just attempting to create my own module using this as a model.
https://jsfiddle.net/u43pj69g/