Skip to content

Commit

Permalink
Use this.$set instead of a direct assignation
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionel Bijaoui committed Mar 7, 2017
1 parent 67a3659 commit 4b7e118
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 @@ -69,7 +69,7 @@
onChanged(event, item) {
if (isNil(this.value))
this.value = [];
this.$set(this, "value", []);
if (event.target.checked)
this.value.push(this.getItemID(item));
Expand Down

0 comments on commit 4b7e118

Please sign in to comment.