diff --git a/core/includes/form.inc b/core/includes/form.inc index 3029c1c..256c6b9 100644 --- a/core/includes/form.inc +++ b/core/includes/form.inc @@ -3000,6 +3000,9 @@ function template_preprocess_radios(&$variables) { } $variables['children'] = !empty($element['#children']) ? $element['#children'] : ''; + + // Remove the disabled attribute on the wrapper. + unset($variables['attributes']['disabled']); } /** @@ -3186,6 +3189,9 @@ function template_preprocess_checkboxes(&$variables) { $variables['attributes']['title'] = $element['#attributes']['title']; } $variables['children'] = (!empty($element['#children'])) ? $element['#children'] : ''; + + // Remove the disabled attribute on the wrapper. + unset($variables['attributes']['disabled']); } /**