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
Max value dont work with zero decimal places #1191
Comments
I have a similar issue, when I pass a value like "42.0000" I get it flagged as an error. If I pass that number as a number and not a string. It works fine. My work around was to wrap Number method around value to parse the odd string:
I'm not sure why this needs to be done in my case... Something odd is going on with my 'value' property. This code piece is found on line 1221 in the jquery.validate.js file. Using jQuery Validation Plugin v1.13.0. |
Hi @Vyeche yeah thats true. In your case I think rather than altering original plugin you should just overwrite that method in separate file so you can still get updates to main plugin. |
@danielhusar Good point. Quick question, is this an issue in the plugin? I'm pretty sure that I'm overlooking something? I tried extending it this way, I'm assuming this is okay?
|
I'm sorry for the lack of activity on this issue. Instead of leaving it open any longer, I decided to close old issues without trying to address them, to longer give the false impression that it will get addressed eventually, especially after several years with no activity. It doesn't mean I'm abandoning the project, just that I'm unable to work through 200+ open issues with the little time I can afford to spend on this project. To the reporter (or anyone else interested in this issue): If you're still affected by the same issue, please consider opening a new issue, with a testpage that demonstrates the issue with a current version of the plugin. Even better, make an attempt to fix the issue yourself, and improve the project by sending a pull request. This may seem daunting at first, but you'll likely learn some useful skills that you can apply elsewhere as well. And you can help keep this project alive. We've documented how to do these things, too. A patch is worth a thousand issues! |
Hey, That's fair enough. :) |
#1391 should solve this. |
@danielhusar its now fixed :-) |
Hi,
if you put inline max value like this: 1000.00 it doesn't work, however 1000.01 works fine.
Demo: http://jsfiddle.net/F2a36/
The text was updated successfully, but these errors were encountered: