Goal: Save cell content in a table without need to click outside of the table to save it.
Steps: Hi everyone,
I'm working on a table with editable cells, and it works almost correctly, but I found a small inconvenience.
Details: The issue occurs when I edit a cell and immediately go to the save button, which executes a custom upsert query:
{{ pedidos.changesetArray.map(p => (
{
order_id: p.id,
code: p.factura,
import: p.importe_factura
}
)) }}
It doesn't work because the changeset doesn't seem to update its state until I click somewhere else inside the table. Is there a way to make the table update its state without having to click outside of the table?Why do you need to click outside of the cell in a Retool table for the changesetArray to update?
Hi @nestor_martinez, I added your feedback to the internal bug report. Unfortunately, I haven't been able to find a workaround for this besides training end-users to press 'tab' or 'enter' after updating a cell.
Hi, I can confirm this is still a problem. It is especially unintuitive for cells with a Date - you click on the desired date, but it isn't "applied" until you click out of the cell itself (or Tab out of it). So even if it feels like you've confirmed your selection it is still not applied.