We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0939543 commit dcb13c7Copy full SHA for dcb13c7
packages/ve-table/src/index.jsx
@@ -1706,11 +1706,11 @@ export default {
1706
};
1707
},
1708
1709
- // set editing cell value
1710
- setEditingCellValue(value) {
+ // update editing cell value
+ updateEditingCellValue(value) {
1711
const { editingCell } = this;
1712
- let { row } = editingCell;
1713
- row[editingCell.colKey] = value;
+ let { row, column } = editingCell;
+ row[column.field] = value;
1714
this.editingCell.row = row;
1715
1716
@@ -2215,7 +2215,7 @@ export default {
2215
2216
// edit input value change
2217
[EMIT_EVENTS.EDIT_INPUT_VALUE_CHANGE]: (value) => {
2218
- this.setEditingCellValue(value);
+ this.updateEditingCellValue(value);
2219
2220
2221
0 commit comments