- Issue created by @stuhannaford
- 🇫🇷France S3b0uN3t Nantes
Hello,
Thank you for your feedback. :)
To easily test, reproduce, and correct this, could you provide me with an example of the address provided, the results obtained, and the expected results?
Thank you in advance.
- 🇬🇧United Kingdom stuhannaford
Of course.
- Drupal 10.4.5
- Commerce 3.0.1
- Address 2.0.3
- Address Autocomplete (with Photon API) 1.3.0
Guest checkout, although it occurs with any type of checkout. Country to USA. Address 'Madison Square Garden'. Full address is found, but selecting enters everything except for the State select field.
Street address: 4 Pennsylvania Plaza
City: New York
State: EMPTY
Zip code: 10001 - 🇫🇷France S3b0uN3t Nantes
Thanks for your feedback
I'm currently at Drupal Dev Days Europe. I'll try to look at it tomorrow or this weekend.
- 🇫🇷France S3b0uN3t Nantes
Hello,
Hello,
I ran a test today with 'Madison Square Garden'. Everything seems fine.
I've attached a screenshot.However, I noticed a JavaScript bug in Drupal 11 related to the "$.trim" method, which is deprecated and which I just replaced.
This prevented the autocomplete results from displaying.
I invite you to check your browser console in case this is also your problem.I'm waiting for your feedback before pushing a corrective release.
Regards,
- 🇬🇧United Kingdom stuhannaford
Thanks for the reply! Really strange... I can see from the screenshot it is doing exactly what I expected, but just not on this side. No console errors either. To check I hadn't caused an issue somewhere with a setting, I clean installed Autocomplete onto a test server of ours, and the same error, state/administrative area isn't filled in. The test environment has a slightly different setup, with Commerce 2.40 as well, so not a v3 issue. Strange