diff --git a/components/lib/datatable/BaseDataTable.vue b/components/lib/datatable/BaseDataTable.vue index 590947023..fbedabd19 100644 --- a/components/lib/datatable/BaseDataTable.vue +++ b/components/lib/datatable/BaseDataTable.vue @@ -273,6 +273,17 @@ export default { filterInputProps: { type: null, default: null + }, + filterButtonProps: { + type: Object, + default() { + return { + addRule: { severity: 'info', text: true, size: 'small' }, + removeRule: { severity: 'danger', text: true, size: 'small' }, + apply: { size: 'small' }, + clear: { outlined: true, size: 'small' } + }; + } } }, style: DataTableStyle, diff --git a/components/lib/datatable/ColumnFilter.vue b/components/lib/datatable/ColumnFilter.vue index 3dc30d850..d16f506a1 100644 --- a/components/lib/datatable/ColumnFilter.vue +++ b/components/lib/datatable/ColumnFilter.vue @@ -94,9 +94,7 @@ @click="removeConstraint(i)" :label="removeRuleButtonLabel" :unstyled="unstyled" - text - severity="danger" - size="small" + v-bind="filterButtonProps.removeRule" :pt="getColumnPT('filterRemoveButton')" >