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
I'm using the toggle events as listed in your docs and when I click the 'Details' button, the page refreshes. Even if I add "onclick='return false;'" nothing happens at all, the server action isn't called.
<%= render_async comments_path, toggle: { selector: '#detail-button', event: :click } do %>
<a href='#' id='detail-button'>Load More</a>
<% end %>
Any advice or tips?
The text was updated successfully, but these errors were encountered:
I tried doing the same thing in my example Rails app and I'm getting the action to load. Could you maybe post more code so we can debug this? Are you maybe getting any errors in the browser console when you click the Load More link?
Hi there,
I'm using the toggle events as listed in your docs and when I click the 'Details' button, the page refreshes. Even if I add "onclick='return false;'" nothing happens at all, the server action isn't called.
Any advice or tips?
The text was updated successfully, but these errors were encountered: