react-places-autocomplete icon indicating copy to clipboard operation
react-places-autocomplete copied to clipboard

Apt/Unit numbers, unable to bypass selecting a suggestion

Open djsteinmetz opened this issue 6 years ago • 4 comments

Compatibility for Apartments / Units?

Is there a way to bypass the select, and enter a custom address?

For example in my use case, a lot of my users will be needing to input unit numbers or apartment numbers, and if you enter an address with a unit number and hit enter, it clears the unit number and formats the address to the best matched address from the suggestions array.

djsteinmetz avatar Dec 26 '18 18:12 djsteinmetz

@djsteinmetz Thanks for creating this issue! And sorry for a very delayed response.

This use case sounds very interesting and possibly quite common. Do you have any suggestion on how it should behave?

hibiken avatar Feb 14 '19 23:02 hibiken

In my case, I just ended up adding a secondary field for unit/apartment number- but I could still for see issues in areas with new builds or other areas Google does not recognize. I guess what would be ideal is if you could input an address that isn't in the picklist, and have it geocoded.

djsteinmetz avatar Feb 14 '19 23:02 djsteinmetz

I see. I'll keep this issue open and see if someone can come up with a solution to this

hibiken avatar Feb 14 '19 23:02 hibiken

is there anything new on this issue? or a suggested workaround?

adirn15 avatar Apr 02 '20 08:04 adirn15