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
Minlength 1, on blur not triggering validation error #1358
Comments
Expected behavior is that when you load the page no error is shown, then when you focus on the field and focus out the validation message should be shown. |
the behaviour you want is not related to min/max length, but the required validator... right? |
See also #1266 (comment) |
@staabm the behavior I want is related to both, but the goal is to show the validation error when the field is empty and neither minLength 1 or required is providing this. |
@jzaefferer what do you think of providing validation for those switches/settings, so we get a console error/exception when unexpected values are used? |
Or we actually support a value of |
So, true would be like the current default? |
So if 'true' is not supported, then how do we get the onfocusout to work? Because this line no longer works (and true is not accepted): onfocusout: function(element){ $(element).valid(); } So is there a work around to get validation on individual elements by using onfocusout ?? This is a real showstopper for us if anyone can suggest something. |
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! |
The text was updated successfully, but these errors were encountered: