react-phone-input-2 icon indicating copy to clipboard operation
react-phone-input-2 copied to clipboard

autoFormat changes phone nr maxlength

Open DanielLaanpere opened this issue 2 years ago • 1 comments

[correct] autoFormat=false I can enter long phone number correctly: 111111111123456

[incorrect] autoFormat=true I can't enter long phone number correctly: 11111111112

Seems like max length of the input takes mask characters in count.

Screenshot 2021-10-14 at 09 21 43 Screenshot 2021-10-14 at 09 21 29 .

DanielLaanpere avatar Oct 14 '21 06:10 DanielLaanpere

+1, no way to enter full phone with autoformat.

talaikis avatar Dec 31 '21 14:12 talaikis