Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No possibility to detect places api place not found. #37

Open
lujakob opened this issue Feb 26, 2018 · 1 comment
Open

No possibility to detect places api place not found. #37

lujakob opened this issue Feb 26, 2018 · 1 comment

Comments

@lujakob
Copy link

lujakob commented Feb 26, 2018

I'm submitting a...


[x ] Feature request

Current behavior

In case the google place API does not find a place, it's not possible to detect this event. In case the to be prefilled fields are initially hidden, and only shown when the place change event fires, the user has no way to access the address fields to manually fill out.

Expected behavior

Fire event to inform about the place is not found.

I created a pull request for this feature

#36

@lujakob
Copy link
Author

lujakob commented Feb 26, 2018

The google places api states for the "place_change" event:

This event is fired when a PlaceResult is made available for a Place the user has selected.
If the user enters the name of a Place that was not suggested by the control and presses the Enter key, or if a Place Details request fails, the PlaceResult contains the user input in the name property, with no other properties defined.

https://developers.google.com/maps/documentation/javascript/reference#Autocomplete

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

No branches or pull requests

1 participant