Closed WizardPC closed 6 years ago
What is the current behavior?
On the demo page, if I set country to FR
then
For format(value,'FR','National');
For format(value,'FR','International');
Therefore it's working.
Make sure to supply a parsed number to format. https://github.com/catamphetamine/libphonenumber-js#formatparsednumber-format-options
Alternatively you could create a PR with a test case illustrating the issue. Closing it otherwise.
Bug, feature request, or proposal:
Bug
What is the expected behavior?
For
format(value,'FR','National');
For
format(value,'FR','International');
What is the current behavior?
For
format(value,'FR','National');
For
format(value,'FR','International');
Is there anything else we should know?
It's working good on the demo : https://catamphetamine.github.io/libphonenumber-js/