When using the Chosen library (https://github.com/harvesthq/chosen) with jqBootstrapValidation I'm getting "TypeError: obj is undefined" in the jQuery.each function every time I open the drop-down.
The issue is here:
$.each($(el).triggerHandler("validation.validation", params), function (j, message) {
since "$(el).triggerHandler("validation.validation", params)" is coming back undefined.
It looks like this was already fixed on the master branch:
$.each($(el).triggerHandler("validation.validation", params) || [], function (j, message) {
When using the Chosen library (https://github.com/harvesthq/chosen) with jqBootstrapValidation I'm getting "TypeError: obj is undefined" in the jQuery.each function every time I open the drop-down.
The issue is here: $.each($(el).triggerHandler("validation.validation", params), function (j, message) {
since "$(el).triggerHandler("validation.validation", params)" is coming back undefined.
It looks like this was already fixed on the master branch:
$.each($(el).triggerHandler("validation.validation", params) || [], function (j, message) {