Browse Source

Update selected rows also on (un)checkAll (#5288)

Co-authored-by: Dennis Hernández <dennishernandezvargas@gmail.com>
Dustin Utecht 5 years ago
parent
commit
81488e2117
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/bootstrap-table.js

+ 1 - 0
src/bootstrap-table.js

@@ -2626,6 +2626,7 @@ class BootstrapTable {
     this.$selectAll.add(this.$selectAll_).prop('checked', checked)
     this.$selectItem.filter(':enabled').prop('checked', checked)
     this.updateRows()
+    this.updateSelected()
 
     const rowsAfter = this.getSelections()
     if (checked) {