Skip to content

Commit

Permalink
Fix wenzhixin#3364: singleSelect and search bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzhixin committed Dec 7, 2017
1 parent 5b151d7 commit c40d14d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -1952,7 +1952,7 @@
checked = $this.prop('checked'),
row = that.data[$this.data('index')];

if (that.options.maintainSelected && $(this).is(':radio')) {
if ($(this).is(':radio')) {
$.each(that.options.data, function (i, row) {
row[that.header.stateField] = false;
});
Expand Down

0 comments on commit c40d14d

Please sign in to comment.