Hello
I have searchbar, filters and table
I need search items by using searchbar and filters togehter
I implemented this functionality using turbo-streams, but my URL doesn’t update. And I want to make it so that the user can copy and paste the link, keeping the search and filter options.
I did this with turbo_frame, but I need to update the two partials, the search string and the filters. Is there some analogue of turbo_action: “Advanced” for turbo-stream?
Wondering the same thing… I have a form that submits and I want it to update two elements, so I can’t use turbo-frames, since those can only update a single element (apparently? I’m not sure why this is the case if my response contains two frames why can’t it update two frames in my body?), but when I try to switch it to use turbo stream elements instead; the two elements DO get updated as expected, but now my URL isn’t changing.
I’ve tried wrapping the form in a turbo frame (haml):
= turbo_frame_tag :order, data: {turbo_action: "advance"} do
And using the turbo stream elements in the response to target this element: