jorisre / react-telephone

☎️ Tiniest react phone input component (auto formating included)
https://react-telephone.joris.re/
MIT License
43 stars 6 forks source link

Bug when selecting US as phone country #524

Closed maakle closed 1 year ago

maakle commented 1 year ago

I am receiving the following error message when I am selecting the US as phone number and there is already a number in the input: Cannot read properties of undefined (reading '3')

Screenshot 2023-05-24 at 17 17 32

See this video here that shows the issue.

It works with other countries. Perhaps it has something to do with the expected format of the input and the German number is too long which was previously in there?

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 1.3.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket: