Refactor #3924 - For Paginator

This commit is contained in:
Tuğçe Küçükoğlu 2023-05-08 12:35:25 +03:00
parent 751e627b63
commit ca57a6520f
13 changed files with 242 additions and 26 deletions

View file

@ -1,12 +1,14 @@
<template>
<RPPDropdown :modelValue="rows" :options="rowsOptions" optionLabel="label" optionValue="value" @update:modelValue="onChange($event)" class="p-paginator-rpp-options" :disabled="disabled"></RPPDropdown>
<RPPDropdown :modelValue="rows" :options="rowsOptions" optionLabel="label" optionValue="value" @update:modelValue="onChange($event)" class="p-paginator-rpp-options" :disabled="disabled" :pt="ptm('RPPDropdown')"></RPPDropdown>
</template>
<script>
import BaseComponent from 'primevue/basecomponent';
import Dropdown from 'primevue/dropdown';
export default {
name: 'RowsPerPageDropdown',
extends: BaseComponent,
emits: ['rows-change'],
props: {
options: Array,