作者:旻昊厉害_720 | 来源:互联网 | 2023-09-16 21:10
JSFIDDLE LINK
http://jsfiddle.net/BA251281/ug16s3tw/14/
Decimal mask with 6.3 - integerDigits:6, digits:3
Step 1: type in Field One at jsfiddle like this - 123456.789
Step 2: now place the cursor before the radixpoint 123456(cursor here ).789 and press the BACKSPACE
Step 3: now you can notice like this result - 000000789
Step 4: now beign in this field, press SHIFT + TAB to "field zero" in jsfiddle and again TAB to the "field one" in jsfiddle
Step 5: Now the "field one" beign SELECTED, press 1,
Setp 6: The result is below - 100000.0900
123456.789
123456.789 (put cursor before radixpoint 123456(cursor here).789 and keep pressing BACKSPACE
000000789 - now shift+ tab to the previous field and again come back to this field and content beign selected, press one
RESULT is coming as -- 100000.0900
Decimal mask with 5.2 ( integerDigits:5, digits:2)
Again please try the same way for this mask also
12345.67
0000067 - now shift + tab and again come to the same field and press 1
RESULT 10000.08
The result is wrong (which should be 1.00)
该提问来源于开源项目:RobinHerbots/Inputmask
,
This issue is fixed Now. Thanks