Here is the button I have:
<button class="kv_styleclass_0 btn btn-outline-success btn-lg"
data-bs-toggle="modal"
data-bs-target="formModal"
type="button">
Become a participant
</button>
that activates the modal dialog below:
<div class="modal fade"
aria-labelledby="formModal_label"
aria-hidden="true"
id="formModal"
tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"
id="formModal_label">
Participant Form
</h5>
<button class="btn btn-secondary btn-primary"
data-bs-dismiss="modal"
type="button">
Close
</button>
</div>
<div class="modal-body">
<iframe src="..."
name="..."
style="height: 407px;"
width="650"
frameborder="0">
</iframe>
</div>
</div>
</div>
</div>
Upon clicking the button, I encountered the following error:
Uncaught TypeError: this._config is undefined
_initializeBackDrop bootstrap.esm.js:2916
...
I am utilizing NPM to obtain Bootstrap. Specifically, Bootstrap v5.2.3.
I experimented with getting Bootstrap JS by inserting the <script>
tag in various locations within my code. This was done in conjunction with Popper.JS.