mareczek / international-phone-number

AngularJS directive implementing intl-tel-input (https://github.com/Bluefieldscom/intl-tel-input)
139 stars 132 forks source link

Improper validation of Hong Kong Number #127

Open paritosh-accedo opened 7 years ago

paritosh-accedo commented 7 years ago

Steps to reproduce:

1) Input a valid Hong Kong number in the following format. +852 XXXX XXXX

Result: Invalid mobile number, form authentication fails.

Expected Result: Mobile number is valid and form authentication should not fail.

igiz0l commented 7 years ago

Faced this problem recently too, turns out that first digit after the dial code can only be 2,3,4,6,7 or 9 eg +852 1555 5555 is invalid and +852 2555 5555 is valid

JulianYeoh01 commented 6 years ago

Faced this problem with China Temecom too, eg 17317151037 is invalid