You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assuming you've not entered anything in the input field yet, and the country code is displayed (by default) in the input field, then when switching between most countries, the country code updates appropriately. However, if I switch from a country that has a 4-digit country code to another country, the code shows very strange behavior. When switching to a 2- or 3-digit country, the updated input value is +<new country code> <old country code>. If I change to another 4-digit country instead the code doesn't get updated at all.
When I switch countries in the dropdown, the @input event is always triggered; which, I believe, should only trigger @country-changed in the first place. The issue with this as well is that we can't check whether it's the country dropdown, or the text field, that triggered the @input event.
The text was updated successfully, but these errors were encountered:
I'm using v.1.5.0.
Assuming you've not entered anything in the input field yet, and the country code is displayed (by default) in the input field, then when switching between most countries, the country code updates appropriately. However, if I switch from a country that has a 4-digit country code to another country, the code shows very strange behavior. When switching to a 2- or 3-digit country, the updated input value is
+<new country code> <old country code>
. If I change to another 4-digit country instead the code doesn't get updated at all.When I switch countries in the dropdown, the @input event is always triggered; which, I believe, should only trigger @country-changed in the first place. The issue with this as well is that we can't check whether it's the country dropdown, or the text field, that triggered the @input event.
The text was updated successfully, but these errors were encountered: