react-native-phone-number-input icon indicating copy to clipboard operation
react-native-phone-number-input copied to clipboard

getNumberAfterPossiblyEliminatingZero truncates the last digit

Open ishmaell opened this issue 4 years ago • 1 comments

The getNumberAfterPossiblyEliminatingZero() method eliminates the first zero as it's supposed to but then truncates the last digit.

e.g. +23408030000001 returns +2348000000000

ishmaell avatar Aug 06 '21 03:08 ishmaell

I am facing the same issue; did you find a solution for this?

pierroo avatar Mar 28 '22 15:03 pierroo