Closed (outdated)
Project:
Address Autocomplete
Version:
1.0.0-beta2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Jan 2022 at 19:43 UTC
Updated:
28 May 2025 at 23:23 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Jonah@ProCycle commentedPatch with just the changes to filter by country from #3194599: Fix mapbox integration and changes google maps to filter by country. Changes to mapbox are not included.
Comment #3
socialnicheguru commentedComment #4
granik@Jonah@ProCycle, there is a strange behavior after applying the patch from #2. The field suggests just a country name if no address found.

See the screenshot.
Comment #5
rhovland@granik This is expected because the patch is implicitly setting the country based on what is currently selected. So an autocomplete provider with no suggestions would only suggest the country if it can't match anything else because that's all that has been provided to it.
This probably needs to be fixed in the autocomplete provider you're using so it doesn't return any results where only a country is offered as a result.
Which autocomplete provider are you seeing this result in?
Comment #6
gilmordIf you check how Geolocation + Address works - once you set the point on the map - address country is updated
Looks like this is the best option - instead of forcing the user to handle address it should be handled based on provider response
Comment #7
rhovlandThis is no longer applicable to the google maps plugin as it filters by country now. As there was no input provided if this effects other providers going to close this. Please reopen if this affects you.