Skip to content

Commit c66b0e9

Browse files
author
Lionel Bijaoui
committed
Fix error "TypeError: this.value.push is not a function" in checklist
1 parent 6d08c4a commit c66b0e9

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
@@ -86,7 +86,7 @@
8686
8787
onChanged(event, item) {
8888
if (isNil(this.value) || !Array.isArray(this.value)){
89-
this.$set(this, "value", []);
89+
this.value = [];
9090
}
9191
9292
if (event.target.checked) {

0 commit comments

Comments
 (0)