Skip to content

in a-table component 'filtered' parameter in filterIcon slot returns wrong value #5173

@rong4188

Description

@rong4188
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.2.8

Environment

chrome 96

Reproduction link

Edit on CodeSandbox

Steps to reproduce

the behavior in document in incorrect as well. the custom filter icon is always blue, we expect it to be blue only when filtered. see document
https://2x.antdv.com/components/table-cn#components-table-demo-custom-filter-panel

What is expected?

return correct value

What is actually happening?

always return true

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions