From a3b5dd286f6e161cdbf8b8e788dcae972af59f06 Mon Sep 17 00:00:00 2001 From: Joseph Frazer Date: Mon, 5 Nov 2018 16:23:19 -0500 Subject: [PATCH] [DEV-3866] handle checkbox default values properly The "checkbox" questions belong to the group of questions that change the "checked" attribute rather than the "value" attribute. --- src/ui/ElementStyler.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/ElementStyler.js b/src/ui/ElementStyler.js index bc7f35f..d2f53c3 100644 --- a/src/ui/ElementStyler.js +++ b/src/ui/ElementStyler.js @@ -466,6 +466,7 @@ module.exports = Class( 'ElementStyler', case 'noyes': case 'radio': case 'legacyradio': + case 'checkbox': var elements = []; if ( $context && $context.singleIndex ) {