mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-22 16:38:21 +00:00
Table cells of default type should be editable
This commit is contained in:
parent
4f0c08126c
commit
f395541b0f
1 changed files with 1 additions and 3 deletions
|
|
@ -275,9 +275,7 @@ export function Table({
|
|||
const rowChangeSet = changeSet ? changeSet[cell.row.index] : null;
|
||||
const cellValue = rowChangeSet ? rowChangeSet[column.name] || cell.value : cell.value;
|
||||
|
||||
if (columnType === undefined || columnType === 'default') {
|
||||
return <span>{cellValue}</span>;
|
||||
} if (columnType === 'string') {
|
||||
if (columnType === 'string' || columnType === undefined || columnType === 'default') {
|
||||
if (column.isEditable) {
|
||||
return (
|
||||
<input
|
||||
|
|
|
|||
Loading…
Reference in a new issue