Remove country code

Created on 9 May 2024, 5 months ago
Updated 2 June 2024, 4 months ago

Hey guys,
I use this module using the "hide address field" option, with all countries available and no default country.
The resulting field displays a default country code (AF, for Afganistan, in my case). This code is not displayed as a placeholder but as selectable text. We can do better.
I simply commented on line 72 of the src/Element/AddressSuggestion.php file, the country code is thus replaced by the text inviting you to enter your address, and it works for the whole world with the Google Places API.
I don't know how to submit a patch... but I hope this helps anyway.

📌 Task
Status

Needs work

Version

1.0

Component

Code

Created by

🇫🇷France cassien

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024