esbanarango / ember-place-autocomplete

Ember cli addon to provide a component that uses Google Places API to autocomplete place information when people write their address
MIT License
63 stars 62 forks source link

Possible to enter a value not in results list? #58

Closed adambedford closed 6 years ago

adambedford commented 7 years ago

Is it possible for a user to enter a value that isn't in the results list? For example, say this is a search for job locations, would it be possible to enter "Remote" as an option?

dmuneras commented 7 years ago

Hey @adambedford!

I just take a look at this case and it seems to work, the value is sent to the callback function so, you can use it.

screen shot 2017-09-08 at 6 31 30 pm

The object sent is the one at the bottom of the image, { 'name': 'fake-address' }, you can use it in your placeChangedCallback

If you have any problem let me know or it doesn't work for you like it is working for me, let me know.

Daniel.

dmuneras commented 6 years ago

Hi @adambedford,

I am closing the issue, but, if you need more information or help, let me know.

Best regards, Daniel.