Topic: MDBDataTable search filter is not honored after state change
Expected behavior The datatable is listens to the search term, and the rows are filtered. State updates, which causes the datatable to re-render, but the search term in the filter should be honored.
Actual behavior After a state change, the datatable re-renders, and the search term is ignored until the next onChange event.
Resources (screenshots, code snippets etc.)
Hi @Clint Milner,
Thank you for the founded bug!
Can you tell me what we can reproduce this issue?
We will try to fix this in the near future.
Can anyone please share code for add custom filter in datatable, I'm using below code:
- User: Free
- Premium support: No
- Technology: React
- MDB Version: 4.15.0
- Device: MacBook Pro
- Browser: Firefox
- OS: OSX
- Provided sample code: No
- Provided link: Yes