We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have the address_1 and address_2 fields on my form and I want to fill the address_2 field, but I can't seem to find the correct field name for the rest of the address here https://github.com/cheesegrits/filament-google-maps?tab=readme-ov-file#reverse-geocoding. How do I go about doing this? Anyway to get these fields here https://developers.google.com/maps/documentation/javascript/supported_types#table2
address_1
address_2
Here is the code I have
Geocomplete::make('address_1') ->reverseGeocode([ 'address_1' => '%n %S', 'address_2' => '%a1 %a2 %a3 %a4 %L %p', 'zip' => '%z', ]) ->countries(fn () => [Filament::getTenant()->location->country->iso_3166_2]) ->lazy(),
Also, is there a way to set the latitude and longitude fields on the afterStateUpdated method?
afterStateUpdated
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have the
address_1
andaddress_2
fields on my form and I want to fill theaddress_2
field, but I can't seem to find the correct field name for the rest of the address here https://github.com/cheesegrits/filament-google-maps?tab=readme-ov-file#reverse-geocoding. How do I go about doing this? Anyway to get these fields here https://developers.google.com/maps/documentation/javascript/supported_types#table2Here is the code I have
Also, is there a way to set the latitude and longitude fields on the
afterStateUpdated
method?The text was updated successfully, but these errors were encountered: