Open DaAwesomeP opened 3 weeks ago
This should by solved by https://github.com/hotwired/turbo/pull/874
Another possibly separate issue: If a link is to another domain/external, then adding data-turbo-method
will cause Turbo to handle it, but it will ignore data-turbo-confirm
.
Hello,
I have a vanilla
rails new
app with Rails 7.2.0. I have not touched any of the default Turbo configuration. I have confirmed with the web console that Turbo is enabled and the JS is included in the page.If I create a link like:
then I do not see a conformation.
But if I do this:
then I see the confirmation prompt.
These links are in normal templates. I have not explicitly disabled Turbo anywhere.
From the docs (https://turbo.hotwired.dev/handbook/drive#requiring-confirmation-for-a-visit) it seems that shouldn't be necessary?