Closed ChristofferJoergensen closed 3 years ago
Hi, thanks for the report
We do not support Bootstrap 5 yet, as per #83. Let's use that other thread
We should do some other changes before supporting BS5
https://github.com/ifad/data-confirm-modal/issues/83#issuecomment-782737822
This Github issue may touch on the subject, but not sure.
I can confirm that data-confirm-modal still works with Rails 6.1.3 / Webpacker 5 / Bootstrap 4.6.0 / jQuery 3.6.0
Here it is a demo repository: https://github.com/diowa/ruby3-rails6-bootstrap-heroku/tree/test/test-data-confirm-modal
Relevant commit: https://github.com/diowa/ruby3-rails6-bootstrap-heroku/commit/776448027f44cd126181ec9c83c659a3fbaab76e
Oh I see. Thanks for clarifying.
I am migrating from Rails 5.2 with the asset pipeline to Rails 6.1.3 with webpacker.
I want to use Bootstrap 5.0.0-beta2 and data-confirm-modal 1.6.2.
I believe I have the proper configuration according to the docs, but I keep getting this in my browser console:
But the modal plugin is available, because I can trigger modals. Any idea what is happening?
This is my configuration:
This Github issue may touch on the subject, but not sure.