TIPOFF / addresses

Laravel Package to manage addresses & interact with Address API
MIT License
0 stars 2 forks source link

New domestic address javascript autocomplete component using google classes #72 #75 [TGER-140] #117

Closed devjk1 closed 3 years ago

devjk1 commented 3 years ago

72 #75

I remade the component using Google provided classes.
Google Class 'Autocomplete' handles session tokens automatically. We still need to test this as charges can rack up quickly if not handled properly.

Frontend example https://play.tailwindcss.com/t8e1AuhUos

When the User searches in the 1st search bar, a dropdown of 'autocomplete' results will show up. When the User clicks a dropdown result, the result is parsed into the address fields in the 2nd input bar. These fields cannot be altered, except Address Line 2. That is data Google does not have. I chose to make these fields read-only, so we can verify that these addresses are real (according to Google).

drewroberts commented 3 years ago

Thank you. per our discussions on Slack, I would like to make some modifications to it, but I'm excited to see it in use.