You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The checkValidation() function only performs the validation checks when the select element has the configured errorClass ('error' by default). This means, the validation check will only be ran when the field is already flagged with an error.
This patch fixed it for me:
function checkValidation() {
- if (select.form && typeof ($(select.form).validate) == "function" &&
- $(select).add($selectSingle).hasClass($(select.form)
- .validate().settings.errorClass))
+ if (select.form && typeof ($(select.form).validate) == "function")
$(select.form).validate().element(select);
}
The text was updated successfully, but these errors were encountered:
The checkValidation() function only performs the validation checks when the select element has the configured errorClass ('error' by default). This means, the validation check will only be ran when the field is already flagged with an error.
This patch fixed it for me:
The text was updated successfully, but these errors were encountered: