Fixed #3921 - DataTable and TreeTable: new Paginator dropdown icon slots

This commit is contained in:
Tuğçe Küçükoğlu 2023-09-06 11:50:14 +03:00
parent 1b300b54f0
commit 43faf8704d
8 changed files with 100 additions and 4 deletions

View file

@ -11,7 +11,11 @@
:pt="ptm('rowPerPageDropdown')"
data-pc-section="rowperpagedropdown"
data-pc-group-section="pagedropdown"
></RPPDropdown>
>
<template v-if="templates['rowsperpagedropdownicon']" #dropdownicon="slotProps">
<component :is="templates['rowsperpagedropdownicon']" :class="slotProps.class" />
</template>
</RPPDropdown>
</template>
<script>
@ -26,7 +30,8 @@ export default {
props: {
options: Array,
rows: Number,
disabled: Boolean
disabled: Boolean,
templates: null
},
methods: {
onChange(value) {