Material-table: Empty filters array on Query object with lookups

Created on 10 Jun 2020  路  2Comments  路  Source: mbrn/material-table

On v1.60.0, lookup filters are not available in the Query object when using remote data. However, this issue is not present on v1.59.0.

Please see this sandbox.

Steps to Reproduce

  1. Switch to v1.59.0, choose a Birth Place filter, click out of the table window, and observe the following console output: {filters: Array(1), orderBy: undefined, orderDirection: "", page: 0, pageSize: 5,聽鈥
  2. Switch to v1.60.0, choose a Birth Place filter, click out of the table window, and observe the following console output: {filters: Array(0), orderBy: undefined, orderDirection: "", page: 0, pageSize: 5,聽鈥
bug

Most helpful comment

Please see #2022 for a fix. I would love to see this merged as soon as possible, thanks!

All 2 comments

Did some testing, looks like https://github.com/mbrn/material-table/commit/559577455f92bed6d36f7868f39b7afa4cf10b53 broke it. It is working on 264b050.

Please see #2022 for a fix. I would love to see this merged as soon as possible, thanks!

Was this page helpful?
0 / 5 - 0 ratings