material-table-core / core

Datatable for React based on material-ui's table with additional features. Support us at https://opencollective.com/material-table-core
https://material-table-core.github.io
MIT License
296 stars 146 forks source link

Extra Console.logs getting printed whenever table is filtered #774

Closed tejaswikarasani2001 closed 1 year ago

tejaswikarasani2001 commented 1 year ago

I'm using version 6.1.17 and I'm seeing extra logs getting printed on console whenever I filter the table

Here is the demo: https://codesandbox.io/s/ecstatic-wilbur-jrrskq?file=/src/App.js

When I filtered rows based on column:

1) if type of column is number below console.log is getting printed

https://github.com/material-table-core/core/blob/master/src/utils/data-manager.js#L946

image

2) if type of column is others then below line of code is getting executed which leads to printing the data

https://github.com/material-table-core/core/blob/master/src/utils/data-manager.js#L1015

image

To Reproduce Filter any column using version 6.1.17 and you will see extra console.logs on frontend

Expected behavior No console.logs should be printed on frontend

Domino987 commented 1 year ago

Seems like it snuck in. Will be removed with the next release. Thanks.