primefaces / primefaces/primereact

TREETABLE - COLUMN FILTER - LACK OF CLEAR ICON

Open
#7,500 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Enhancement
Dominant language
CSS
Stars
8.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

in TreeTable component when you add a filter option to Column - when you type something, the clear icon does not appear as it is for DataTable component which uses the same Column component.

TREETABLE
image

DATATABLE
image

Reproducer

https://stackblitz.com/edit/jvvwy2rz?file=src%2FApp.jsx

System Information
"react": "18.3.1",
    "primereact": "latest",
Steps to reproduce the behavior

No response

Expected behavior

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked StackBlitz reproducer and compare the TreeTable column filter with the DataTable column filter while typing. Trace the TreeTable and shared Column behavior; done means the clear icon appears for a typed TreeTable filter as it does for DataTable.

Written by the indexing model from the issue text.

Assessment

Tech stack
react
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.