First off, let me say i LOVE your library, it's so easy to use and works amazing well. Thank you a million times over.
Not sure what i am doing wrong but i want to know how to handle the use case when a number has a 0 in the national portion like so:
+33 0 6 12 34 56 78 === this validates as valid but it really is not and also it does not get formatted properly
with the 0 the format is not applied but funny enough in the as you type function it shows the number properly formatted with the 0 removed.
For now i found a bypass method wher i reconstruct the number like so and it works nicely but i figured i would give you a shout:
var tempPhoneNumber = '+' + formatter.country_phone_code + parse(phoneNumber).phone
tempPhoneNumber = format(tempPhoneNumber, parse(tempPhoneNumber).country, 'International')
var regEx = new RegExp(' ', 'g') //remove the space and replace with "-" dash
tempPhoneNumber = tempPhoneNumber.replace(regEx, '-')