Skip to content

Commit 16c256e

Browse files
Merge pull request #156 from lionel-bijaoui/lb_fix_typeError_bug_in_checklist
Fix error "TypeError: this.value.push is not a function" in `checklist`
2 parents 6d08c4a + c66b0e9 commit 16c256e

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)