bl00mber / react-phone-input-2

:telephone_receiver: Highly customizable phone input component with auto formatting
https://bl00mber.github.io/react-phone-input-2.html
MIT License
951 stars 538 forks source link

disable country autofit #177

Closed vsolanogo closed 4 years ago

vsolanogo commented 4 years ago

for Dominican Republic +1809... it auto fits USA, how to disable it? I tried to manually set dominican republic and after it reset phone number - it fits USA anyway

bl00mber commented 4 years ago

Use priority={{do: 0, us: 1, ca: 2}}

vsolanogo commented 4 years ago

Use priority={{do: 0, us: 1, ca: 2}}

doesn't work