Skip to content

Commit

Permalink
hotfix: remove value “0” || ”1” setting on Checkboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Nielsen committed Mar 26, 2017
1 parent 7765d60 commit f73c716
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions dist/conversational-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -2898,12 +2898,10 @@ var cf;
set: function (value) {
if (!value) {
this.el.removeAttribute("checked");
this.referenceTag.domElement.value = "0";
this.referenceTag.domElement.removeAttribute("checked");
}
else {
this.el.setAttribute("checked", "checked");
this.referenceTag.domElement.value = "1";
this.referenceTag.domElement.setAttribute("checked", "checked");
}
},
Expand Down
Loading

0 comments on commit f73c716

Please sign in to comment.