Skip to content

Commit 4b7e118

Browse files
author
Lionel Bijaoui
committed
Use this.$set instead of a direct assignation
1 parent 67a3659 commit 4b7e118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fields/core/fieldChecklist.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
7070
onChanged(event, item) {
7171
if (isNil(this.value))
72-
this.value = [];
72+
this.$set(this, "value", []);
7373
7474
if (event.target.checked)
7575
this.value.push(this.getItemID(item));

0 commit comments

Comments
 (0)