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

fix: use significant part of number instead of national

Open merceyz opened this issue 4 years ago • 0 comments

What's the problem this PR addresses?

When switching between some countries, a valid number with a prefix gets a zero prepended to it causing the number to become invalid. In my case switching from Norway to Sweden and back to Norway causes a valid number to become invalid

How did you fix it?

Use the significant part of the number, instead of national

merceyz avatar Mar 20 '20 14:03 merceyz