react-bootstrap-table/react-bootstrap-table2

For select filters, based on one filter selection, set other filters with corresponding values

00-TylerDurden opened this issue · 1 comments

Based on one filter selection, I am trying to set the value of other filters.
As per the doc provided below, the afterFilter function provides us new table dataset from newResult .
https://www.npmjs.com/package/react-bootstrap-table2-filter
While trying to set the corresponding filter values, I am getting stuck with below error.

Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.

Hence, please help to set corresponding values for rest of the select filters.

This was mentioned in the issue #1097 and #1441

Appreciate your help.

any updates on this?? got the same error but with date filter