File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ export default {
8080 },
8181 showClearButton: {
8282 type: Boolean ,
83- default: true
83+ default: false
8484 },
8585 showApplyButton: {
8686 type: Boolean ,
Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ export interface ColumnProps {
431431 showFilterOperator ?: boolean | undefined ;
432432 /**
433433 * Displays a button to clear the column filtering.
434- * @defaultValue true
434+ * @defaultValue false
435435 */
436436 showClearButton ?: boolean | undefined ;
437437 /**
Original file line number Diff line number Diff line change 1717 v-bind =" { ...getColumnPT('pcColumnFilterButton', ptmFilterMenuParams), ...filterButtonProps.filter }"
1818 >
1919 <template #icon =" slotProps " >
20- <component :is =" filterIconTemplate || 'FilterIcon'" :class =" slotProps.class" v-bind =" getColumnPT('filterMenuIcon')" />
20+ <component :is =" filterIconTemplate || hasRowFilter() ? 'FilterFillIcon' : 'FilterIcon'" :class =" slotProps.class" v-bind =" getColumnPT('filterMenuIcon')" />
2121 </template >
2222 </Button >
2323 <Button
@@ -170,6 +170,7 @@ import { FilterOperator } from '@primevue/core/api';
170170import BaseComponent from ' @primevue/core/basecomponent' ;
171171import { ConnectedOverlayScrollHandler } from ' @primevue/core/utils' ;
172172import FilterIcon from ' @primevue/icons/filter' ;
173+ import FilterFillIcon from ' @primevue/icons/filterfill' ;
173174import FilterSlashIcon from ' @primevue/icons/filterslash' ;
174175import PlusIcon from ' @primevue/icons/plus' ;
175176import TrashIcon from ' @primevue/icons/trash' ;
@@ -212,7 +213,7 @@ export default {
212213 },
213214 showClearButton: {
214215 type: Boolean ,
215- default: true
216+ default: false
216217 },
217218 showApplyButton: {
218219 type: Boolean ,
@@ -718,6 +719,7 @@ export default {
718719 Button,
719720 Portal,
720721 FilterSlashIcon,
722+ FilterFillIcon,
721723 FilterIcon,
722724 TrashIcon,
723725 PlusIcon
You can’t perform that action at this time.
0 commit comments