-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add preferred countries and focus input after change country #3
Conversation
Thanks for your new feature. |
The default option for dropdown is open. Is there any option available to open dropdown on click event ? |
how can i change the preferredCountries during runtime, simply updating the array doesnt work |
@saiidabs My pull request didn't implement change preferredCountries during runtime. Maybe I can look into later, but I am not sure this repo is still active since there is pull request from 28 days ago. You also can implement the feature and commit it. |
How can I get or set value in phone number as I am passing the number or string with country code it isn't work. FYI : I am using form builder. |
How can I increase the width of this input ?? |
what I did is edit the css file of the plugin you can change everything there |
Hello ngx-intl-tel-input.component.d.ts
index.js
I think that these corrections will be useful to someone |
Use this for preferred countries
preferredCountries = ['us', 'au', 'ru', 'gb'];
<ngx-intl-tel-input [(value)]="phone_number" [preferredCountries]="preferredCountries">