TIPOFF / addresses

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

Add validation to livewire component #72 #75 [TGER-133] #134

Closed devjk1 closed 3 years ago

devjk1 commented 3 years ago

We can make the Address box smaller, but I think we need to add a custom class to the Tailwind config, to make the text labels smaller than size 1.

drewroberts commented 3 years ago

added livewire validation on search query before Place Autocomplete API call

  • simple check for address query starts with a digit (addresses like 1A Stillson Street, Atlanta, GA, USA are possible)
  • this stops API from returning partial addresses w/o a street number, and we can store the address directly from Google's API response
  • not sure if street numbers can start with non-digits, P.O. boxes

Yeah, PO Box is a good example. We'll want to allow this and need to figure a solution on how to do it. Can you create a new issue for that, @devjk1?

I'm going to go ahead and merge this.