react-bootstrap-table / react-bootstrap-table2

Next Generation of react-bootstrap-table
https://react-bootstrap-table.github.io/react-bootstrap-table2/
MIT License
1.26k stars 430 forks source link

Error thrown when clear all filter triggered with column toggles #1778

Open sharvesh opened 1 year ago

sharvesh commented 1 year ago

Hi there,

I have recently been assigned to maintain on an application that is using this library and I'm trying to find a working solution for a error that has been there a while in the app

Conditions to reproduce this, have the following enabled in the page :

  1. Filters - Enable multiple types (text, select & multiselect)
  2. Clear all filter button / function call
  3. Column toggle

Steps :

  1. load page.
  2. select / key in the filters
  3. hide one of the columns that has the filter values
  4. call the reset filter

Error will be throw for the hidden columns image

Any suggestions or working sample for me to reference this.