Your best choice may be to store the value in a temp variable every time a row is selected and then read from the temp variable for the value of the text box... make sense?
the tabbed container has a currentViewIndex property, you could use that in a ternary to do something like {{(container.currentViewIndex === 0) ? table1.selectedRow.data.name : table2.selectedRow.data.name}}, but that's a little clunky and doesn't scale well if you add more views
However, is there a way to set the tempt state when I move to a different view on the (tabbed) container? - I can't find a way to attach an event handler to the buttons on the nav/tab......
I'd like to make it empty each time the tab changes.
row select would be better, if they navigate up and down using the arrow keys then row click wouldn't fire and you'd be showing the wrong data
This is why it may be easier to let Retool components do the work on that part and use the table1.selectedRow.data and don't worry about how it was selected