react-intl-tel-input icon indicating copy to clipboard operation
react-intl-tel-input copied to clipboard

phone number not working correctly

Open neekey opened this issue 7 years ago • 3 comments

It looks like the second parameter of the onChange callback is used directly to the checking function, the screenshot bellow is actually a correct number in Australia, but the status is false:

image

And this will pass:

image

I suggest that make the second onChange parameter consistent, always including the dial code reflecting the current selected flag, it makes no sense that when using this component, we have to check whether the value contains dial code and manually generate the complete number.

neekey avatar Mar 10 '17 06:03 neekey

Did you find any solution to this?

lavikacybrilla avatar Apr 16 '18 18:04 lavikacybrilla

screen shot 2018-07-01 at 7 50 07 pm

The code is working as expected. Can you confirm on this?

superhit0 avatar Jul 01 '18 14:07 superhit0

@neekey Can you confirm on the fix?

superhit0 avatar Jul 07 '18 16:07 superhit0