Closed webrgp closed 5 years ago
One quick note: after I've put the Google API key, I am still getting errors :-/
I'm having the same problem.
@webrgp @adrienne I'm not sure what I was thinking with default country code. I think I might have copied that from the telephone input.
How would you expect a default country code to work? Would it render all the fields below? Are you planning to hide the auto complete?
Figured it out. https://github.com/newism/craft3-fields/releases/tag/0.0.14 should fix this issue.
I've set the default country on the address field, but when I create a new entry, the default country isn't selected.
Digging into the code, on fields/Address.php, from line 229, should be changed to:
and on templates/_components/fieldtypes/Address/input/countryCode.twig, change to: