cleave.js icon indicating copy to clipboard operation
cleave.js copied to clipboard

If I enter only 1s, then Cleave does not format the number and does not limit the amount of number I put in

Open isaackearl opened this issue 5 years ago • 3 comments

https://jsfiddle.net/9tq3hxev/

When entering a phone number, if you enter in multiple ones at the start, then the input no longer tries to format the number, and it allows you to enter in invalid data.

for example put 111111111111111111111802382083023802 and it will allow you to enter in all these invalid numbers. When I try and do any other number that doesn't start with more then one "1", then it will format it properly and stop me from putting in to many numbers.

isaackearl avatar Sep 16 '20 05:09 isaackearl

Same issue

JcubeChris avatar Sep 25 '20 08:09 JcubeChris

Hello everyone, I am new here, is there a chance I can work on this as my first issue?

JuanFML avatar Nov 30 '20 01:11 JuanFML

same issue

rafalimaz avatar Jan 31 '22 21:01 rafalimaz