You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The link_to is for another page but i get this error in console, Response has no matching turbo-frame id="show_pendings" element Is data-turbo="false" the only solution in this case ?
<%= turbo_frame_tag "show_pendings" do %>
// a lot of code
<%= link_to "another_path" %>
<%= end %>
The text was updated successfully, but these errors were encountered:
Hey @bouaik, if you want to break out of the frame you can also use target="_top" on the link.
Otherwise you need to make sure that the response from "another_path" returns a matching <turbo-frame id="show_pendings ">...</turbo-frame> in it's body.
Thanks @marcoroth, actually both target="_top" and data-turbo="false" makes a full reload of the page, i did found data-turbo-frame="_top", wich solve the problem for this case,
The link_to is for another page but i get this error in console, Response has no matching turbo-frame id="show_pendings" element
Is data-turbo="false" the only solution in this case ?
<%= turbo_frame_tag "show_pendings" do %>
// a lot of code
<%= link_to "another_path" %>
<%= end %>
The text was updated successfully, but these errors were encountered: