iamstevendao / vue-tel-input

International Telephone Input with Vue
https://iamstevendao.com/vue-tel-input/
MIT License
818 stars 342 forks source link

Validation stops after it said it's valid number #387

Open vaske opened 1 year ago

vaske commented 1 year ago

Hi there,

I have one issue with phone numbers which are longer for example Serbian numbers if we have number like +381642000901 plugin said that number +38164200090 is valid and it cut off anything at the end in this case it's number 1,

Is there a way to somehow allow longer number formats?

I'm using most recent version of plugin.

graemedewe commented 1 year ago

this seems to be same experience as https://github.com/iamstevendao/vue-tel-input/issues/393

vaske commented 1 year ago

@graemedewe was able to solve it with using

dropdownOptions={{
                showFlags: true,
                showDialCodeInList: true,
                showDialCodeInSelection: true,
              }}

and

onCountryChanged