Skip to content

Commit

Permalink
Merge pull request #156 from lionel-bijaoui/lb_fix_typeError_bug_in_c…
Browse files Browse the repository at this point in the history
…hecklist

Fix error "TypeError: this.value.push is not a function" in `checklist`
  • Loading branch information
lionel-bijaoui authored Mar 13, 2017
2 parents 6d08c4a + c66b0e9 commit 16c256e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fields/core/fieldChecklist.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
onChanged(event, item) {
if (isNil(this.value) || !Array.isArray(this.value)){
this.$set(this, "value", []);
this.value = [];
}
if (event.target.checked) {
Expand Down

0 comments on commit 16c256e

Please sign in to comment.