From 0f5ecf565221cfcc9bdf07096f02769964c2ae4f Mon Sep 17 00:00:00 2001 From: EgorTrutnev <48055220+EgorTrutnev@users.noreply.github.com> Date: Thu, 30 Nov 2023 17:36:49 +0300 Subject: [PATCH] Update bootstrap-table-group-by.js Fixed the build of the checkbox in bootstrap-table, which has data-single-select="true" --- src/extensions/group-by-v2/bootstrap-table-group-by.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extensions/group-by-v2/bootstrap-table-group-by.js b/src/extensions/group-by-v2/bootstrap-table-group-by.js index 7137debf08..430cefee37 100644 --- a/src/extensions/group-by-v2/bootstrap-table-group-by.js +++ b/src/extensions/group-by-v2/bootstrap-table-group-by.js @@ -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