Skip to content

Commit 436e975

Browse files
committed
Fixed #135 - checkedItems.indexOf is not a function
1 parent 6b08414 commit 436e975

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
@@ -158,7 +158,7 @@ function init(Survey) {
158158
var updateValueHandler = function(newValue) {
159159
if (!inChangeHandler) {
160160
var checkedItems = newValue || [];
161-
if (radiogroupType) {
161+
if (radiogroupType || booleanType) {
162162
checkedItems = [newValue];
163163
}
164164

0 commit comments

Comments
 (0)