Closed AzA-95 closed 2 months ago
You say you expect typing "5" at the beginning of a Russian number to not work (to ignore the digit), because that is an invalid digit at that point in the number, but unfortunately strictMode
is not that complex - all it does is ignore non-numeric characters and cap the number length, as per the readme. It would be much too complicated to block input of specific digits at specific points in the number.
Plugin version
v24.5.0
Demo here https://jsfiddle.net/8r6j32Lm/
Steps to reproduce
Expected behaviour
when typing 56789012345 expected +7 without any number because format incorect(not started with 9) when typing 0000000000000000 expected +7 without any number because format incorect(not started with 9)
Actual behaviour
when typing 98765432101 Result is +7 987 654-32-10 Works Correct when typing 56789012345 Result is +7 5678901234 when typing 0000000000000000 Result is +7 0000000000000000
Initialisation options