uNmAnNeR / imaskjs

vanilla javascript input mask
https://imask.js.org
MIT License
4.96k stars 258 forks source link

Сan't enter numbers in MaskedRange #1074

Open vlajik3 opened 2 months ago

vlajik3 commented 2 months ago

Describe the bug MaskedRange is in a hurry to correct the number and does not allow you to enter the desired one

To Reproduce You can touch in your doc . Range from 0 to 255: i cant write the numbers starting with 3 or more(for example i can't write 30)

In my own case i cant do that in that case: PORT: { mask: IMask.MaskedRange, from: 0, to: 65535, }, if i try write for example 8080, i can't write numbers that starting with 7 or more(8 and 9)

Expected behavior I can write any number from the range

Environment:

Additional context Add any other context about the problem here.