Table component "select row by key" does nothing

I have an action configured as shown on the screenshot -- which is supposed to select the ow specified by key in another table. But it just always selects the first row. I have double-checked that the other table has the correct key, of course.

Hi @pavelgur,

Is the table's primary key defined?


If so, any chance you could share an app export? I haven't been able to reproduce this when the primary key field is set.

Another idea would be adding a debounce to see if there's a race condition causing this issue

Yes, primary key is set. Cannot share the app though.

Hmm, in that case, I might try the following troubleshooting steps:

  • Test to see if this happens in a brand new table
  • Check the debug tools state to see if there are other events controlling the table
  • Try another input instead of currentSourceRow.location_id. For example, does it happen if you hardcode a 2 there?
  • If you haven't tried it yet, checking if a debounce helps
  • Confirm that location_id is the right data type and exists as a key in the other table
  • Test the target row by index option to confirm if the whole event is broken or only the key type

Let me know how that goes!