Recently updated to bootstrap5.0.0-beta3 along with bootstrap-table 1.18.2 from webjars repository.
Here's the code snippet:
<table id="table">...</table> <!-- no classes here -->
$('#table').bootstrapTable({
url:dataUrl
});
Despite not including any additional classes, bootstrap-table is injecting extra ones. As a result, the DOM looks like this:
<div class="bootstrap-table bootstrap5">
...
<div class="fixed-table-body">
<div class="fixed-table-loading table table-bordered table-hover">
<table id="table" class="table table-bordered table-hover">...
The unwanted table-bordered and table-hover classes are causing issues for me. Is there a way to prevent them from being added and why are they even present in the first place?