react-telephone-input icon indicating copy to clipboard operation
react-telephone-input copied to clipboard

Auto fill, changes the country code.

Open Falkovic1993 opened this issue 5 years ago • 2 comments

Hey!

So I ran into a problem where I start off by setting the default country based on the language the user is viewing my site on. In this case Danish (+45). It's a form with name, e-mail and phone.

When user starts typing their name, it often comes up with autofill, which a lot of users use. Then when chosen it changes the country code based on the first numbers in a phone number in the autofill. For example, I, have a phone number that that's with 60. Then it automatic changes the country to the country with dialCode 60. Is it possible to somehow say it should only change if i choose it from the list?

Thanks!

Falkovic1993 avatar Jul 02 '19 07:07 Falkovic1993

Hi @Falkovic1993 did you find a solution for this?

samthomson avatar Apr 29 '20 13:04 samthomson