Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
00-TylerDurden opened this issue Jan 10, 2023 · 1 comment
Assignees

Comments

@00-TylerDurden
Copy link

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.

@00-TylerDurden 00-TylerDurden changed the title For select filters, based on one filter selection, set the other filters with corresponding values For select filters, based on one filter selection, set other filters with corresponding values Jan 10, 2023
@mariobdom
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants