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

flag and number keep changing, vue3

Open spormeon opened this issue 1 year ago • 1 comments

Hi

I save a number such as: Adysis_-Media_Online-_Stats_Management

if i refresh the page, or go to another page then back to the page with the number , it has chnaged to: Adysis_-Media_Online-_Stats_Management

this new number that appears is actually for the country im in ( uk ) but i have the disabledFetchingCountry: true,

so its making no sense as to why its "changing" the number to the country code im in, i just want it to display back the 1st number i entered/ saved

these are my settings: Main_vue_—_statsadysis

I'm actually able to see this 1st number in an "admin" screen, for that saved number/ user, so its def saving the right number and the bindProps settings on this page are axactly the same, i.e disabledFetchingCountry: true, Adysis_-Media_Online-_Stats_Management

I can actually also sometime see the number change in the admin, it will start with the original number, then after about a second it will switch to GB flag and +44 instead of the flag and dial code which was saved

Anyone got any ideas whats happening?

spormeon avatar Jul 12 '22 23:07 spormeon

UPDATE: I think i might of sorted this out by setting defaultCountry: 'US', why you have to set a default country i got no clue, dont seem very logically to me, but hey it seems to work, fingers crossed

spormeon avatar Jul 13 '22 10:07 spormeon