Fix bug that made text type table cells not editable (#248)

This commit is contained in:
Navaneeth Pk 2021-06-14 10:45:35 +05:30 committed by GitHub
parent 134e2f51ca
commit c2234b6dea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -278,7 +278,7 @@ export function Table({
onBlur={(e) => {
handleCellValueChange(cell.row.index, column.key || column.name, e.target.value, cell.row.original);
}}
value={cellValue}
defaultValue={cellValue}
>
</textarea>;
} if (columnType === 'dropdown') {