[Résolu] Autocomplete not working on address field
This support ticket is created Il y a 2 années et 10 mois. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Tell us what you are trying to do?
I have a custom post type that uses Toolset's address field. My API Key had the "Google API seems to be configured properly." message in Toolset's settings, so I don't think that's the issue. The address autocomplete works perfectly when inputting an address from the WordPress backend or from a CRED form, but autocomplete doesn't work in my View's search field. I have disabled all plugins except Toolset's, and I'm running the 2021 theme.
Is there any documentation that you are following?
No
Is there a similar example that we can see?
What is the link to your site?
Can provide link to dev site privately
I can confirm that this is related to an already reported issue, which is planned to be fixed in the upcoming release of the Toolset Maps, version 2.0.9.
When there is no map showing on the view's page, the autocomplete feature for the distance search field doesn't work.
I'll update you through this ticket once this fixed version is released and for now, the workaround is to include the map on the page, which you can hide if it is not needed.
( screenshot: hidden link )