You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Working with tanstack table and utilitizing filters. When a filter value is set to undefined, the filter is autoremoved from the table state. We would like to be able to turn that off since we are using the table's column filter state to render the visible filter components. We'd like the user to be able to keep the filter component shown and continue to add filter values. By autoremoving the filter from the table when the associated filter value is undefined, we force the user to add the filter back each time they clear a columns filters.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Working with tanstack table and utilitizing filters. When a filter value is set to undefined, the filter is autoremoved from the table state. We would like to be able to turn that off since we are using the table's column filter state to render the visible filter components. We'd like the user to be able to keep the filter component shown and continue to add filter values. By autoremoving the filter from the table when the associated filter value is undefined, we force the user to add the filter back each time they clear a columns filters.
relevant code block:
Beta Was this translation helpful? Give feedback.
All reactions