Open sbrow opened 2 years ago
I was having trouble upgrading to bootstrap 5 so I used your script. Worked perfectly. Thank you =)
Where do I put that javascript if you don't mind me asking?
Where do I put that javascript if you don't mind me asking?
Put it in a separate script and import it after 'bootstrap'
.
Also, you have to modify the modal template a bit to prevent close on the escape key,
php artisan vendor:publish --tag=laravel-livewire-modals:views
resources/views/vendor/laravel-livewire-modals/modals.blade.php
eg: data-bs-backdrop="static"
to data-backdrop="static"
Any chance you could add support for bootstrap 4?
It seems all that needs to change is the javascript that you import:
Thanks, love the package!