app/assets/javascripts/decidim/admin/subform_multi_toggler.component.js.es6 in decidim-admin-0.23.5 vs app/assets/javascripts/decidim/admin/subform_multi_toggler.component.js.es6 in decidim-admin-0.23.6
- old
+ new
@@ -21,13 +21,13 @@
let $form = $target.parents(this.globalWrapperSelector);
let $selectedSubform = $form.find(`#${subformWrapperClass}-${value}`)
if ($target.prop("checked")) {
- $selectedSubform.find("input,textarea").prop("disabled", false);
+ $selectedSubform.find("input,textarea,select").prop("disabled", false);
$selectedSubform.show();
} else {
- $selectedSubform.find("input,textarea").prop("disabled", true);
+ $selectedSubform.find("input,textarea,select").prop("disabled", true);
$selectedSubform.hide();
}
}
_bindEvent() {