Skip to content

Commit 02ceb90

Browse files
committed
select2 doesn't work when activated by type is set #223
1 parent c0d0740 commit 02ceb90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function init(Survey, $) {
1313
question.getType() === "dropdown"
1414
);
1515
if (widget.activatedBy == "type")
16-
return typeof question.getType() === "dropdown";
16+
return question.getType() === "dropdown";
1717
if (widget.activatedBy == "customtype")
1818
return question.getType() === "select2";
1919
return false;

0 commit comments

Comments
 (0)