Open zchking opened 6 years ago
I suggest that we change the prefix if the number is not provided. For autofill cases we should provide accurate autocomplete
attributes for both subfields:
tel-country-code
for the prefixtel-national
for the remainderyes, but can't follow the key code, I will try to adjust.
(Please take the time and describe the problem you're having before you propose a solution.)
What I'm trying to achieve
checkout shipping address page, when change country, the phone number prefix should change too. but it select +1. ...
Steps to reproduce the problem
What I expected to happen
it should update. such as I choose UK, it should change to +44 ...
What happened instead/how it failed
I change the request POST data to form. and I follow the code to the saleor/account/i18n.py. But still not work.
who can show the method it set selected?