-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bootstrap 5 close buttons not closing form popup #186
Comments
Maybe we can add both of them, so that it's backward compatible?
Il gio 8 lug 2021, 20:15 Jacob Fliss ***@***.***> ha scritto:
… If you want the popups to close in Bootstrap 5, you need to change
data-dismiss to data-bs-dismiss. There's 3 instances of this in the
src/dataTables.altEditor.free.js file.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#186>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACLII2B25NT6MEND3T2EFWTTWXTLNANCNFSM5ABH5OKQ>
.
|
my fix var modal = `
<div class="modal fade" id="${modal_id}" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Modal title</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<p></p>
</div>
<div class="modal-footer">
</div>
</div>
</div>
</div>`; fix secondary button style, change: full src: https://www.codepile.net/pile/bQL1JOdN |
@erfg12 Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you want the popups to close in Bootstrap 5, you need to change
data-dismiss
todata-bs-dismiss
. There's 3 instances of this in thesrc/dataTables.altEditor.free.js
file.The text was updated successfully, but these errors were encountered: