Table action button not working properly, because it's using the previous selectedRow?

Hey! When I click on an action button, I want to build and open a URL that uses some data from selectedRow.

However, it's using the data from the previously selectedRow. Seems like a race condition.

Is there another way to select data from the row of the clicked action button?

Hey @jasoncbenn!

Can you try using {{currentRow.first_name}} instead of {{table.selectedRow.data.first_name}}?
currentRow_vs_selectedRow_in_button_handler.json

1 Like