We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43b5eeb commit 70827eeCopy full SHA for 70827ee
packages/react-bootstrap-table2/src/contexts/index.js
@@ -91,6 +91,13 @@ const withContext = Base =>
91
this.PaginationContext = nextProps.pagination.createContext(
92
this.isRemotePagination, this.handleRemotePageChange);
93
}
94
+ if (!nextProps.cellEdit && this.props.cellEdit) {
95
+ this.CellEditContext = null;
96
+ }
97
+ if (nextProps.cellEdit && !this.props.cellEdit) {
98
+ this.CellEditContext = nextProps.cellEdit.createContext(
99
+ _, dataOperator, this.isRemoteCellEdit, this.handleRemoteCellChange);
100
101
102
103
renderBase() {
0 commit comments