Open cloudcaptain opened 9 years ago
in my case combined with select2-selection--multiple patch
// identifiers[i] = $elem.closest(widgetsOptions[i].widgetItem).index();
//PATCH:
if(typeof widgetsOptions[i] !== 'undefined'){
identifiers[i] = $elem.closest(widgetsOptions[i].widgetItem).index();
}
this was working:
// "kartik-v/yii2-checkbox-x"
var $hasCheckboxX = $(widgetOptionsRoot.widgetItem).find("[data-krajee-checkboxx]");
if ($hasCheckboxX.length > 0) {
$hasCheckboxX.each(function () {
if ($(this).attr("class") == "cbx-loading") {
var ckxOptions = eval($(this).attr("data-krajee-checkboxx"));
$(this).checkboxX(ckxOptions);
}
});
}
The following code fixed this issue for me.