mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
fixes: text type columns of tables cannot be marked as "not editable" (#1502)
* fix * isEditable set to true, run handleCellValueChange function
This commit is contained in:
parent
05ac0e470e
commit
f43b19960c
1 changed files with 3 additions and 1 deletions
|
|
@ -400,7 +400,9 @@ export function Table({
|
|||
readOnly={!column.isEditable}
|
||||
style={{ maxWidth: width, minWidth: width - 10 }}
|
||||
onBlur={(e) => {
|
||||
handleCellValueChange(cell.row.index, column.key || column.name, e.target.value, cell.row.original);
|
||||
if (column.isEditable) {
|
||||
handleCellValueChange(cell.row.index, column.key || column.name, e.target.value, cell.row.original);
|
||||
}
|
||||
}}
|
||||
defaultValue={cellValue}
|
||||
></textarea>
|
||||
|
|
|
|||
Loading…
Reference in a new issue