Skip to content

Commit 92b53b5

Browse files
committed
Fix #151 change choices to visibleChoices in prettycheckbox
1 parent cdfbb92 commit 92b53b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pretty-checkbox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function init(Survey) {
105105

106106
var choices = booleanType
107107
? [{ locText: question.locTitle, value: !!question.value }]
108-
: question.choices;
108+
: question.visibleChoices;
109109
choices.forEach(function(choiceItem, index) {
110110
var input = document.createElement("input");
111111
input.type = options.inputType;

0 commit comments

Comments
 (0)