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

Column filtering is broken after update #843

Open
bobisjan opened this issue May 7, 2024 · 1 comment
Open

Column filtering is broken after update #843

bobisjan opened this issue May 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@bobisjan
Copy link

bobisjan commented May 7, 2024

Describe the bug
Column filtering is broken after update to v6.4.3

To Reproduce
Have a table with filtering option set to true

Expected behavior
Column filtering works as before

Screenshots

Cannot read properties of undefined (reading 'groupOrder')
TypeError: Cannot read properties of undefined (reading 'groupOrder')
    at http://localhost:3000/static/js/vendors-node_modules_material-table_core_dist_index_js-node_modules_material-ui_icons_AddBox_-863683.chunk.js:11053:32
    at Array.filter (<anonymous>)
    at MTableFilterRow (http://localhost:3000/static/js/vendors-node_modules_material-table_core_dist_index_js-node_modules_material-ui_icons_AddBox_-863683.chunk.js:11052:11)
    at renderWithHooks (http://localhost:3000/static/js/bundle.js:47356:22)
    at mountIndeterminateComponent (http://localhost:3000/static/js/bundle.js:49839:17)
    at beginWork (http://localhost:3000/static/js/bundle.js:50892:20)
    at HTMLUnknownElement.callCallback (http://localhost:3000/static/js/bundle.js:37933:18)
    at Object.invokeGuardedCallbackDev (http://localhost:3000/static/js/bundle.js:37977:20)
    at invokeGuardedCallback (http://localhost:3000/static/js/bundle.js:38032:35)
    at beginWork$1 (http://localhost:3000/static/js/bundle.js:55023:11)

Desktop:

  • OS: macOS
  • Browser Chrome
  • Version 124.0.6367.119

Additional context
Probably caused by these changes 2819897#diff-5ee3bd52eeef716c4038c1d4cc318c928359f1c1af7b4f43f1a9b0021891163e, because columns are not columnDefs anymore, because they are mapped to <TableCells, hence tableData is undefined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants