jackocnr / intl-tel-input

A JavaScript plugin for entering and validating international telephone numbers. Now includes React and Vue components.
https://intl-tel-input.com
MIT License
7.57k stars 1.94k forks source link

07 french phone number is recognized as invalid #950

Closed remijean closed 5 years ago

remijean commented 5 years ago

Steps to reproduce

https://codepen.io/remi-jean/pen/PoYZWEx

  1. setNumber: +33712345678
  2. getNumberType = -1

Expected behaviour

getNumberType return 1

06 and 07 is a mobile phone services: https://en.wikipedia.org/wiki/Telephone_numbers_in_France

image

Actual behaviour

getNumberType return -1

jackocnr commented 5 years ago

We use libphonenumber for formatting, validation and generating placeholder numbers - if your issue relates to one of these things, please check their test site first and if you see the problem there please file an issue with them instead.

jackocnr commented 5 years ago

Closing due to inactivity.