We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a04886c + 048003f commit 9049073Copy full SHA for 9049073
src/BootstrapTable.js
@@ -62,7 +62,7 @@ class BootstrapTable extends Component {
62
const nextDataFields = React.Children.map(props.children, column => column.props.dataField);
63
React.Children.forEach(this.props.children, column => {
64
const { dataField, filter } = column.props;
65
- if (!nextDataFields.includes(dataField)) {
+ if (filter && !nextDataFields.includes(dataField)) {
66
// Clear filter
67
this.filter.handleFilter(dataField, '', filter.type, filter);
68
}
0 commit comments