Ukrainian mobile code 98 conflicts with Iran code
piliffok opened this issue · comments
Plugin version
v23.0.7
Steps to reproduce
- Choose Ukraine (or)
- Enter 380987183223 (or) 987183223
- Country switched to Iran
Expected behaviour
Numbers like 38098 detects as Ukrainian
Actual behaviour
Numbers like 38098 detects as Iran
Initialisation options
excludeCountries: ['ru'],
initialCountry: 'ua',
countryOrder: ['ua', 'pl', 'de', 'fr', 'gb'],
autoPlaceholder: 'aggressive',
separateDialCode: true,
strictMode: true,
Additional info
Some numbers, like 38098415xxxx detects correctly
That's strange, I can't reproduce this issue. I've setup a codepen with your initialisation options, but when I type those numbers it stays with Ukraine selected - can you reproduce the issue on this codepen somehow? If so, can you provide clear steps to reproduce?
Closing due to inactivity.