Fixed invalid negative input #14

Closed
wants to merge 3 commits into
from

Projects

None yet

2 participants

@Benzolitz

Currently the script only checkes if the input has a bigger length then maxValue. If you want to enter a negative Value which is longer than the maxValue, the script stops you from doing so. Only possibility was to use the mousewheel.

and others added some commits May 4, 2015
@EmKayDK Fixed bug from Github (Issue 9).
Updated tests to include this.
Added Syn to the project instead of including it directly from Github.
08539c9
@EmKayDK Forgot to update the version number a few places. 61c44a4
Lucas Engel Fixed invalid negative input
Script only checked if input has a bigger length then maxValue. If you wanted to enter a negative Value which is longer than the maxValue, the script stoped you from doing so. Only possibility was to use the mousewheel.
ea5c1aa
@Benzolitz

$('#txtTesting').jStepper({minValue: -9999, maxValue: 20, overflowMode: 'ignore'});

I can write -9, but I can't add another 9. The script will stop me because the only check is if the Value.length is bigger than maxValue.length.

@Benzolitz Benzolitz closed this Sep 19, 2015
@Benzolitz

Didn't want to close :D

@Benzolitz Benzolitz reopened this Sep 19, 2015
@EmKayDK EmKayDK added a commit that referenced this pull request Sep 19, 2015
@EmKayDK Fixed bug #14 and wrote a test case for it. 273f28a
@EmKayDK
Owner
EmKayDK commented Sep 19, 2015

Fixed!
Thanks for the contribution :)

@EmKayDK EmKayDK closed this Sep 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment