Skip to content
This repository has been archived by the owner on Nov 8, 2017. It is now read-only.

City not loaded #333

Open
danicarla opened this issue Jul 5, 2017 · 2 comments
Open

City not loaded #333

danicarla opened this issue Jul 5, 2017 · 2 comments

Comments

@danicarla
Copy link

Hi guys...
I'm finding an error the city is not loaded
See in: http://ubilabs.github.io/geocomplete/examples/form.html

I try with this Address "Av. Paulista - Bela Vista, São Paulo - SP, Brasil"
Apparently this error happens only with addresses of Brazil

error

@bahiamartins
Copy link

bahiamartins commented Aug 11, 2017

Just solved. Change your input field from 'locality' to 'administrative_area_level_2'. Example:

<input id="id_city" name="administrative_area_level_2" type="text">

@CarlosAlbertoSantos
Copy link

CarlosAlbertoSantos commented Sep 12, 2017

I have the same issue. The solution above does work for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants