Skip to content

DataTable: Global filter resets column filters #6663

@Matthew404-fail

Description

@Matthew404-fail

Describe the bug

The global filter resets column filters.

Reproducer

https://stackblitz.com/edit/jyzjs8?file=src%2FApp.tsx

PrimeReact version

10.6.5

React version

18.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

  1. Go to reproducer
  2. Apply any column filter
  3. Enter any text in global filter field
  4. Column filter has been reset
  5. If you enter "Amy" in global filter field and then apply a column filter, it will work correctlyimage
    image
    image

Expected behavior

Filters will be applied together

Metadata

Metadata

Assignees

Labels

Component: DocumentationIssue or pull request is related to Documentation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions