From 65c72068285671e823c6952eb55065f9bbff0026 Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole Date: Mon, 15 Feb 2016 08:49:20 +0900 Subject: [PATCH] Issue #994360 by DuaelFr, andypost, emosbaugh: #states cannot disable/enable radios and checkboxes --- core/misc/states.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/misc/states.js b/core/misc/states.js index 30c938ff00..d795e0a4a9 100644 --- a/core/misc/states.js +++ b/core/misc/states.js @@ -628,7 +628,7 @@ $(document).on('state:checked', function (e) { if (e.trigger) { - $(e.target).prop('checked', e.value); + $(':input', e.target).prop('checked', e.value); } }); -- GitLab