Wrap a table row with a Turbo Frame tag in Rails
Jun 22, 2022
It’s impossible to wrap tr with turbo_frame tag in HTML.
Press enter or click to view image in full size![]()
To solve this problem, we should add a specific attribute to tr element:
And now we can perform turbo_stream.replace in our controller:
