feat: Add Google Places autocomplete for address search
- Add address search input field with autocomplete - Integrate Google Places API to provide address suggestions - Parse selected address components and auto-populate form fields - Address fields initially hidden, show when address is selected - Add clear button to reset address selection - Support South Africa locations with country restriction - Add Google Places API key config to services.php - Hide/show address fields based on selection and validation errors
This commit is contained in:
@@ -59,4 +59,8 @@ return [
|
||||
'redirect' => env('GOOGLE_REDIRECT_URI', '/auth/google/callback'),
|
||||
],
|
||||
|
||||
'google_places' => [
|
||||
'api_key' => env('GOOGLE_PLACES_API_KEY'),
|
||||
],
|
||||
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user