How can I prevent everything from closing when I click on a dropdown inside another dropdown?
I attempted to remove data-toggle="dropdown"
but that was not the solution.
Here is my code,
<div class="dropdown">
<button class="btn btn-secondary btn-sm dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Attempt
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<div class="dropright">
<button class="btn btn-secondary btn-sm dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Sub-Attempt
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<ul class="dropdown-item" id="NodeFilters">
<li><input type='checkbox'> check1</li>
<li><input type='checkbox'> check2</li>
</ul>
</div>
</div>
</div>
</div>
I'm unsure of what steps to take next. Can someone offer some assistance? Thank you!