primevue icon indicating copy to clipboard operation
primevue copied to clipboard

DataTable showClearButton doesn't appear anymore

Open zawasp opened this issue 5 months ago • 3 comments

Describe the bug

Regression: DataTable showClearButton doesn't show anymore.

See https://primevue.org/datatable/#api.column.props.showClearButton

Pull Request Link

No response

Reason for not contributing a PR

  • [x] Lack of time
  • [ ] Unsure how to implement the fix/feature
  • [ ] Difficulty understanding the codebase
  • [ ] Other

Other Reason

No response

Reproducer

https://stackblitz.com/edit/pnnxb5ba-abdaoqbu?file=src%2FApp.vue

Environment

Windows / MacOS

Vue version

3.2.45

PrimeVue version

4.3.6

Node version

No response

Browser(s)

All

Steps to reproduce the behavior

Type in some text in the "name" or "country" filters. Those columns have showClearButton set to true. Clear filter button does not appear.

Expected behavior

If the filter is not null, the "clear" button should appear. This is a regression from previous versions:

zawasp avatar Jul 10 '25 18:07 zawasp

We had to lock the version to 4.3.5 as this feature stopped working on 4.3.6.

Jacobs63 avatar Aug 07 '25 07:08 Jacobs63

It was removed in this commit is fairly easy to restore.

ikcam avatar Aug 09 '25 19:08 ikcam

Any news on this? Still not working on 4.5.0 @tugcekucukoglu @cagataycivici

Oli8 avatar Nov 28 '25 16:11 Oli8