vue-tel-input icon indicating copy to clipboard operation
vue-tel-input copied to clipboard

Country is sometimes not updated when selecting another country

Open RonanL opened this issue 2 years ago • 3 comments

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: image image image

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.

RonanL avatar Mar 01 '23 15:03 RonanL

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.

QuentinStG avatar May 05 '23 08:05 QuentinStG

Has anyone found any hack to solve this?

Nehasoni988 avatar Oct 16 '23 11:10 Nehasoni988

Hey ! We have the same issue on our side. Is there any update on this (or on PR #422 ?)

Thanks !

obrassard avatar Jan 25 '24 23:01 obrassard

Thanks @neha-proxima , the fix is on v9.1.3!

iamstevendao avatar May 22 '24 13:05 iamstevendao

Thanks :D

RonanL avatar May 27 '24 08:05 RonanL