Commit e2e2f0d3 authored by Brett Walker's avatar Brett Walker Committed by Fatih Acet

Pass down the index of the checkbox checked

parent 58a005cf
......@@ -49,16 +49,17 @@ export default class TaskList {
update(e) {
const $target = $(e.target);
const { lineNumber, lineSource, checked } = e.detail;
const { index, checked, lineNumber, lineSource } = e.detail;
const patchData = {};
patchData[this.dataType] = {
[this.fieldName]: $target.val(),
lock_version: this.lockVersion,
update_task: {
index: index,
checked: checked,
line_number: lineNumber,
line_source: lineSource,
checked: checked,
},
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment