webcat12345 / ngx-intl-tel-input

Phone number input field to support international numbers, Angular
MIT License
213 stars 335 forks source link

intl-tel-input: Not able set selectCountry option programmatically #216

Open navaneethk2190 opened 5 years ago

navaneethk2190 commented 5 years ago

Used the selectCountry syntax as per given in the following URL https://www.jqueryscript.net/form/jQuery-International-Telephone-Input-With-Flags-Dial-Codes.html

// Change the country selection instance.selectCountry("gb");

But getting "selectCountry is not a function" error message.

I want reset the initialization or move the flag to first selection with the placeholder visible.

navaneethk2190 commented 5 years ago

Any update?

pasevin commented 4 years ago

We don't have this method in this library. It looks like a good feature to have.

Dave-Nandwa commented 3 years ago

Any update on this?