From 6c0e96fdcc7c410bd5e3203932f61e298e71ff5b Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 14 Jan 2025 14:52:34 +0300 Subject: [PATCH 1/8] Fixed #7092 - Change showClearButton as false and use FilterFillIcon for row filtering --- packages/primevue/src/column/BaseColumn.vue | 2 +- packages/primevue/src/column/Column.d.ts | 2 +- packages/primevue/src/datatable/ColumnFilter.vue | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/primevue/src/column/BaseColumn.vue b/packages/primevue/src/column/BaseColumn.vue index 045400038..8b0a889b5 100644 --- a/packages/primevue/src/column/BaseColumn.vue +++ b/packages/primevue/src/column/BaseColumn.vue @@ -80,7 +80,7 @@ export default { }, showClearButton: { type: Boolean, - default: true + default: false }, showApplyButton: { type: Boolean, diff --git a/packages/primevue/src/column/Column.d.ts b/packages/primevue/src/column/Column.d.ts index e181a769f..fbc578ee0 100755 --- a/packages/primevue/src/column/Column.d.ts +++ b/packages/primevue/src/column/Column.d.ts @@ -431,7 +431,7 @@ export interface ColumnProps { showFilterOperator?: boolean | undefined; /** * Displays a button to clear the column filtering. - * @defaultValue true + * @defaultValue false */ showClearButton?: boolean | undefined; /** diff --git a/packages/primevue/src/datatable/ColumnFilter.vue b/packages/primevue/src/datatable/ColumnFilter.vue index fc1e04d22..ec7bd5df6 100644 --- a/packages/primevue/src/datatable/ColumnFilter.vue +++ b/packages/primevue/src/datatable/ColumnFilter.vue @@ -17,7 +17,7 @@ v-bind="{ ...getColumnPT('pcColumnFilterButton', ptmFilterMenuParams), ...filterButtonProps.filter }" >