vue-tel-input
vue-tel-input copied to clipboard
Country is sometimes not updated when selecting another country
vue-tel-input 6.0.5 vue 3.2.45 dropdownOptions :
- showDialCodeInList: true
- showDialCodeInSelection: true
- showFlags: true
- showSearchBox: true preferredCountries: ['FR', 'IT', 'DE', 'ES', 'GB', 'US', 'CA']
When I change the country using the selector, sometimes the prefix changes but the selected country remains the same:

It seems to happen only when selecting from the "preferred countries" block, but I'm not 100% certain on that point.
I did not manage to reproduce this on the demo site.
I have the same problem. Seems like this happens when trying to change country after entering a phone number. I have the problem when I define my own allCountries propertie.
Has anyone found any hack to solve this?
Hey ! We have the same issue on our side. Is there any update on this (or on PR #422 ?)
Thanks !
Thanks @neha-proxima , the fix is on v9.1.3!
Thanks :D