Expected: The confirm dialog should prevent the form to be submitted because resove is false
Actual: The confirm dialog is shown but the form is submitted without waiting for the answer
view.html.erb
<%=form_with url: url_for(action: :create), data: {"turbo-frame": "_top", "turbo-confirm": "Are you sure?"} do |f| %>
<%=f.submit%>
<% end %>
Expected: The confirm dialog should prevent the form to be submitted because resove is false Actual: The confirm dialog is shown but the form is submitted without waiting for the answer
view.html.erb
dialog.js
layouts.html.erb
Gemfile gem 'turbo-rails', '>= 1.3.0', :git => 'https://github.com/hotwired/turbo-rails'