Skip to content

Commit

Permalink
Fix icheck process choices values with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
gologames committed Jul 5, 2019
1 parent 0478475 commit 0f64d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/icheck.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function init(Survey, $) {
values = [values];
}
values.forEach(function(value) {
$el.find("input[value=" + value + "]").iCheck("check");
$el.find("input[value='" + value + "']").iCheck("check");
});
} else {
question.generatedVisibleRows.forEach(function(row, index, rows) {
Expand Down

0 comments on commit 0f64d59

Please sign in to comment.