You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do I get the actual text that was suggested to the user? The text that becomes the input's value on select?
E.g. search for 50 Abbotts Road, Dandenong South VIC, Australia
That comes up as a suggestion.
The user selects it, but then changes Abbotts to Abbots.
I thought the formatted_address would be 50 Abbotts Road, Dandenong South VIC, Australia, and I could compare this to the input value to check if they changed it. But it's not. The formatted_address is 50 Abbotts Rd, Dandenong South VIC 3175, Australia.
How do I validate this? How do I get the 50 Abbotts Road, Dandenong South VIC, Australia?
How do I get the actual text that was suggested to the user? The text that becomes the input's value on select?
E.g. search for 50 Abbotts Road, Dandenong South VIC, Australia
That comes up as a suggestion.
The user selects it, but then changes Abbotts to Abbots.
I thought the formatted_address would be 50 Abbotts Road, Dandenong South VIC, Australia, and I could compare this to the input value to check if they changed it. But it's not. The formatted_address is 50 Abbotts Rd, Dandenong South VIC 3175, Australia.
How do I validate this? How do I get the 50 Abbotts Road, Dandenong South VIC, Australia?
How do I get the actual text that was suggested to the user? The text that becomes the input's value on select?
E.g. search for 50 Abbotts Road, Dandenong South VIC, Australia
That comes up as a suggestion.
The user selects it, but then changes Abbotts to Abbots.
I thought the
formatted_address
would be50 Abbotts Road, Dandenong South VIC, Australia
, and I could compare this to the input value to check if they changed it. But it's not. Theformatted_address
is50 Abbotts Rd, Dandenong South VIC 3175, Australia
.How do I validate this? How do I get the
50 Abbotts Road, Dandenong South VIC, Australia
?This seems to be a similar issue, but doesn't have an answer I could use with this library.
https://stackoverflow.com/questions/18454677/google-maps-api-how-do-you-ensure-that-the-google-maps-autocomplete-text-is-an
The text was updated successfully, but these errors were encountered: