Skip to content

Commit 4f88591

Browse files
apply changes to develop branch instead of master (#1358)
1 parent 24d0d0e commit 4f88591

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/react-bootstrap-table2/src/row-selection/selection-cell.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ export default class SelectionCell extends Component {
9292
mode: inputType,
9393
checked: selected,
9494
disabled,
95-
rowIndex
95+
rowIndex,
96+
rowKey
9697
}) : (
9798
<input
9899
type={ inputType }

packages/react-bootstrap-table2/test/row-selection/selection-cell.test.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,8 @@ describe('<SelectionCell />', () => {
296296
mode,
297297
checked: selected,
298298
disabled: wrapper.prop('disabled'),
299-
rowIndex
299+
rowIndex,
300+
rowKey: 1
300301
});
301302
});
302303
});

0 commit comments

Comments
 (0)