ngx-intl-tel-input
ngx-intl-tel-input copied to clipboard
For phone numbers russians AutoCountrySelect function always setting code Kazakhstan
https://github.com/webcat12345/ngx-intl-tel-input/blob/28cf9d8828937cb0dccec1f17b95723c080f93d9/projects/ngx-intl-tel-input/src/lib/ngx-intl-tel-input.component.ts#L225
For me it wrong not always but at first paste number. For example (you can check it even in your stackblitz demo)
- open page
- paste number like +79262141212 (or any other Russian number variant) in component input. You will see what component set country Kazakhstan instead Russia and form field (and form) will be invalid.
- If you re paste the same number - it will work as expected (country Russia, form field valid) 3.1) If you just make any changes by hands - it will work as expected (country Russia, form field valid)
If you open page and write this number by hands - it will work as expected (country Russia, form field valid)
This problem catched with national numbers too.
- open page
- Select Russia as country
- paste number like 89262141212. You will see Kazakhstan and invalid form field again. Select Russia again and re paste number - it will work as expected (country Russia, form field valid)
Is there any chance for fixing it? Or some walk-around?