We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa778cf commit c48f20bCopy full SHA for c48f20b
src/modules/toggleDisabled.js
@@ -69,6 +69,17 @@
69
.on('afterValidation', afterValidationCallback)
70
.on('blur', function() {
71
$(this).valAttr('have-been-blurred', 1);
72
+ })
73
+ .each(function() {
74
+ var $input = $(this),
75
+ validationRules = $input.attr('data-validation');
76
+ if (validationRules.indexOf('checkbox_group') > -1) {
77
+ $input.closest('form').find('input[name="'+$input.attr('name')+'"]').each(function() {
78
+ $(this).on('change', function() {
79
+ $input.validate();
80
+ });
81
82
+ }
83
});
84
85
0 commit comments