Skip to content

Commit

Permalink
Update bootstrap-table-group-by.js
Browse files Browse the repository at this point in the history
Fixed the build of the checkbox in bootstrap-table, which has data-single-select="true"
  • Loading branch information
EgorTrutnev authored Nov 30, 2023
1 parent 9bcdb05 commit 0f5ecf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/group-by-v2/bootstrap-table-group-by.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ BootstrapTable.prototype.initBody = function (...args) {
let visibleColumns = 0

this.columns.forEach(column => {
if (column.checkbox) {
if (column.checkbox && !that.options.singleSelect) {
checkBox = true
} else if (column.visible) {
visibleColumns += 1
Expand Down

0 comments on commit 0f5ecf5

Please sign in to comment.