Hi Thomas! I'm having issues with: link_to, url, method: :get. The link goes to a controller action that response with turbo_stream but the request arrives as HTML and I get an error after removing ujs. Tried adding data-turbo-method="get" but because my link is inside a turbo-frame it says Response has no matching <turbo-frame id="idOfRandomParent"> element. Did you by any chance encounter such issues?
Hi Thomas! I'm having issues with:
link_to, url, method: :get. The link goes to a controller action that response with turbo_stream but the request arrives as HTML and I get an error after removing ujs. Tried addingdata-turbo-method="get"but because my link is inside a turbo-frame it saysResponse has no matching <turbo-frame id="idOfRandomParent"> element. Did you by any chance encounter such issues?@bakivernes, you can break out a
turbo_frameby specifing the target attribute on a link.See also here