cronapp-lib-js 2.8.5 → 2.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
//FIX_026 - CRONAPP-4565 Checkbox acionado ao clicar em botão customizado
|
|
28
28
|
//FIX_027 - CRONAPP-4621 Permitir validação reativa
|
|
29
29
|
//FIX_028 - CRONAPP-4939 Criar componente breadcumb (Adicionado componente breadcrumb)
|
|
30
|
+
//FIX_029 - CRONAPP-5473 Erro no componente Caixa de checagem
|
|
30
31
|
|
|
31
32
|
/**
|
|
32
33
|
* Kendo UI v2019.1.220 (http://www.telerik.com/kendo-ui)
|
|
@@ -24251,10 +24252,25 @@
|
|
|
24251
24252
|
inputParent.find('.k-tooltip').hide();
|
|
24252
24253
|
});
|
|
24253
24254
|
//END FIX_014
|
|
24255
|
+
|
|
24256
|
+
//BEGIN FIX_029
|
|
24257
|
+
//OLD
|
|
24258
|
+
/*
|
|
24254
24259
|
return {
|
|
24255
24260
|
valid: false,
|
|
24256
24261
|
key: rule
|
|
24257
24262
|
};
|
|
24263
|
+
*/
|
|
24264
|
+
//NEW
|
|
24265
|
+
let validResult = false;
|
|
24266
|
+
if (($(input[0]).attr('type')==='checkbox' && $(input[0]).closest('form').length)) {
|
|
24267
|
+
validResult = true;
|
|
24268
|
+
}
|
|
24269
|
+
return {
|
|
24270
|
+
valid: validResult,
|
|
24271
|
+
key: rule
|
|
24272
|
+
};
|
|
24273
|
+
//END FIX_029
|
|
24258
24274
|
}
|
|
24259
24275
|
}
|
|
24260
24276
|
return { valid: true };
|