From 2cd8845bc14447dcb40e67489490caabfe950dc8 Mon Sep 17 00:00:00 2001 From: Bill Parrott Date: Tue, 28 Apr 2020 14:37:15 -0500 Subject: [PATCH] apply changes to develop branch instead of master --- .../react-bootstrap-table2/src/row-selection/selection-cell.js | 3 ++- .../test/row-selection/selection-cell.test.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/react-bootstrap-table2/src/row-selection/selection-cell.js b/packages/react-bootstrap-table2/src/row-selection/selection-cell.js index f53753cff..ff20f1eca 100644 --- a/packages/react-bootstrap-table2/src/row-selection/selection-cell.js +++ b/packages/react-bootstrap-table2/src/row-selection/selection-cell.js @@ -92,7 +92,8 @@ export default class SelectionCell extends Component { mode: inputType, checked: selected, disabled, - rowIndex + rowIndex, + rowKey }) : ( ', () => { mode, checked: selected, disabled: wrapper.prop('disabled'), - rowIndex + rowIndex, + rowKey: 1 }); }); });