Closed LitvinenkoEvgeny closed 5 years ago
https://libphonenumber.appspot.com/phonenumberparser?number=89020423527&country=RU
const { formatPhoneNumber, formatPhoneNumberIntl } = require('react-phone-number-input/max'); const value = '89020423527'; console.log(formatPhoneNumber(value)); // in fact - returns empty string console.log(formatPhoneNumberIntl(value)); // same here
"react-phone-number-input": "2.3.21" "libphonenumber-js": "^1.7.22",
What i'm doing wrong ?
Provide a demo somewhere on codesandbox
@catamphetamine https://codesandbox.io/s/intelligent-pascal-wpkz3
https://libphonenumber.appspot.com/phonenumberparser?number=89020423527&country=RU
"react-phone-number-input": "2.3.21" "libphonenumber-js": "^1.7.22",
What i'm doing wrong ?