DataTable showClearButton doesn't appear anymore
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:
We had to lock the version to 4.3.5 as this feature stopped working on 4.3.6.
It was removed in this commit is fairly easy to restore.
Any news on this? Still not working on 4.5.0 @tugcekucukoglu @cagataycivici