Skip to content

Commit 3e4bbb8

Browse files
committed
remove comments
1 parent 15767e2 commit 3e4bbb8

1 file changed

Lines changed: 0 additions & 31 deletions

File tree

modules/@apostrophecms/schema/ui/apos/logic/AposInputCheckboxes.js

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,11 @@ export default {
99
? this.modelValue.data
1010
: [];
1111
},
12-
// data() {
13-
// return {
14-
// next: (this.modelValue.data == null) ? null : this.modelValue.data,
15-
// choices: []
16-
// };
17-
// },
1812
methods: {
1913
getChoiceId(uid, value) {
2014
return (uid + JSON.stringify(value)).replace(/\s+/g, '');
2115
},
2216
watchValue () {
23-
console.log({
24-
source: 'watchValue',
25-
next: this.next,
26-
modelValueData: this.modelValue.data
27-
});
2817
this.error = this.modelValue.error;
2918
this.next = this.modelValue.data || [];
3019
},
@@ -75,26 +64,6 @@ export default {
7564
} else {
7665
this.modelValue.data.push(choice.value);
7766
}
78-
// console.log({
79-
// choice: choice.value,
80-
// data: this.modelValue.data
81-
// });
8267
}
83-
// change(choice) {
84-
// console.log({
85-
// choice,
86-
// value: choice.value,
87-
// data: this.modelValue.data
88-
// });
89-
//
90-
// this.modelValue.data = this.modelValue.data.includes(choice.value)
91-
// ? this.modelValue.data.filter(value => value !== choice.value)
92-
// : this.modelValue.data.concat(event.value);
93-
//
94-
// console.log({
95-
// choice,
96-
// data: this.modelValue.data
97-
// });
98-
// }
9968
}
10069
};

0 commit comments

Comments
 (0)