mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 14:26:42 +00:00
fix: setting entered key value as input
Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com>
This commit is contained in:
@@ -430,11 +430,11 @@ export default {
|
||||
if (this.editEnabled.col != null && this.editEnabled.row != null) {
|
||||
return;
|
||||
}
|
||||
console.log(this.selected, this.data[this.selected.row], this.availableColumns[this.selected.col], '')
|
||||
this.$set(this.data[this.selected.row].row, this.availableColumns[this.selected.col]._cn, '')
|
||||
this.editEnabled = {...this.selected}
|
||||
if(e.key && e.key.length === 1) {
|
||||
this.$set(this.data[this.selected.row].row, this.availableColumns[this.selected.col]._cn, e.key)
|
||||
this.editEnabled = {...this.selected}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
onClickOutside() {
|
||||
|
||||
Reference in New Issue
Block a user