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.
2 parents ce6e70c + 58ed9fc commit 3a7f4faCopy full SHA for 3a7f4fa
src/pretty-checkbox.js
@@ -77,7 +77,7 @@ function init(Survey) {
77
var targetChecked = target.checked;
78
79
if (checkboxType) {
80
- var questionValue = question.value || [];
+ var questionValue = question.createValueCopy() || [];
81
var valueIndex = questionValue.indexOf(targetValue);
82
if (targetChecked) {
83
if (valueIndex === -1) {
@@ -188,6 +188,7 @@ function init(Survey) {
188
},
189
willUnmount: function(question, el) {
190
question.valueChangedCallback = undefined;
191
+ question.readOnlyChangedCallback = undefined;
192
}
193
};
194
0 commit comments