Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed invalid negative input #14

Closed
wants to merge 3 commits into from
Closed

Fixed invalid negative input #14

wants to merge 3 commits into from

Conversation

@Benzolitz
Copy link

@Benzolitz Benzolitz commented Sep 17, 2015

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.

EmKayDK and others added 3 commits May 4, 2015
Updated tests to include this.
Added Syn to the project instead of including it directly from Github.
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.
@Benzolitz
Copy link
Author

@Benzolitz Benzolitz commented Sep 19, 2015

$('#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
Copy link
Author

@Benzolitz Benzolitz commented Sep 19, 2015

Didn't want to close :D

@Benzolitz Benzolitz reopened this Sep 19, 2015
@EmKayDK
Copy link
Owner

@EmKayDK 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
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants