In Drupal 8, with the bootstrap theme when you create a link with class and data-dialog-type attributes like the bellow code: You will open content of the page in #drupal-modal element that has these html wrappers: This structure is generated in: themesbootstrapjsmodal.js how we can see on the link. How do I modify it so that I can pass a
Tag: bootstrap-modal
Close Bootstrap modal on form submit
I have a Bootstrap modal dialog which contains a form. The modal dialog contains a submit and a cancel button. Now on submit button click the form is submitted successfully but the modal dialog isn’t getting closed. Here is my HTML: Anybody knows how to do this? Answer Use that Code