Hi, I'm working on a Retool table to input multiple rows of data and save them all at once.
One of the columns is category_id
, which uses a Select
component inside the table cell to let the user choose from a list.
The dropdown displays properly, and I can select a value from the list.
However, when I try to log the value from the selected row, it returns null
.
Here’s what I’ve checked:
- The
Select
uses data from a query likeselect_category_query.data
value
andlabel
are both mapped correctly (item.id
,item.name
)- I confirmed that the select component is working visually, but in my
console.log(table_data_var.value)
, the row index is correct but the value ofcategory_id
is alwaysnull
Screenshot:
Any ideas why the value is not getting captured?
Thanks in advance!