mareczek / international-phone-number

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

Wrong validation #94

Open yamaha252 opened 8 years ago

yamaha252 commented 8 years ago

Hello! Why is a phone valid when a value is only country code (or only +)? https://github.com/mareczek/international-phone-number/blob/master/src/international-phone-number.coffee#L106