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:
twotalesanimation
2026-01-03 00:15:30 +02:00
parent dd950b5aba
commit b8cc8bd421
5 changed files with 260 additions and 34 deletions
+4
View File
@@ -59,4 +59,8 @@ return [
'redirect' => env('GOOGLE_REDIRECT_URI', '/auth/google/callback'),
],
'google_places' => [
'api_key' => env('GOOGLE_PLACES_API_KEY'),
],
];