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

Added defaultCountryByDialCode prop

Open CharltonSantana opened this issue 5 years ago • 6 comments

Have added defaultCountryByDialCode prop, very similar to defaultCountry but uses dialCode instead of iso2 for country map. <vue-tel-input defaultCountryByDialCode="44" />

CharltonSantana avatar Feb 16 '20 19:02 CharltonSantana

Hey, please let me know if there's anything like naming etc that you'd prefer to be changed.

CharltonSantana avatar Feb 25 '20 21:02 CharltonSantana

@CharltonSantana I'm thinking we can use the defaultCountry prop and allow it to be both number and string. if it's a string we fetch the country by country code and if it's a number we use the dial code. What do you think?

iamstevendao avatar Feb 25 '20 22:02 iamstevendao

@iamstevendao Thank you for your patience on this. I think this is a good idea, I will get on it.

CharltonSantana avatar Mar 10 '20 13:03 CharltonSantana

This is a must feature for me. Any news @CharltonSantana? Will you rewrite your PR?

Daniel4Digital avatar Apr 30 '20 00:04 Daniel4Digital

Is there any update on this PR? As mentioned above, we'd also find this would be very useful.

ciaranpflanagan avatar Sep 23 '20 12:09 ciaranpflanagan

Any updates for this one?

antoci-alin avatar Oct 28 '20 13:10 antoci-alin