gregnb / gregnb/mui-datatables
curentFilterList on customFilterDialogFooter returns the previous filter list instead of the current filter list
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 906
- PR merge metrics
- No merged PRs in 30d
Description
## Expected Behavior
should return the current filter list
## Current Behavior
returns the previous filter list instead
## Steps to Reproduce (for bugs)
1. add mui-datatables to your project
2. include the options below
options={{
confirmFilters: true,
customFilterDialogFooter: (currentFilterList, applyFilters) => ( {
console.log('current filterList: ', currentFilterList)
applyFilters()
}}>apply)
}}
## Your Environment
| Tech | Version |
|--------------|---------|
| Material-UI | ^4.11.2 |
| MUI-datatables | ^3.7.4 |
| React | ^17.0.1 |
| browser | chrome |
| etc | |
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.