primefaces / primefaces/primereact
TREETABLE - COLUMN FILTER - LACK OF CLEAR ICON
Open
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
DATATABLE
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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