Fixed #159 - rowsPerPageOptions dropdown is not coming in Datatable

pull/201/head
cagataycivici 2020-01-30 10:37:29 +03:00
parent 246edd2f30
commit e3ea89a475
1 changed files with 31 additions and 26 deletions

View File

@ -1,9 +1,12 @@
<template> <template>
<Dropdown :value="rows" :options="rowsOptions" optionLabel="label" optionValue="value" <RPPDropdown :value="rows" :options="rowsOptions" optionLabel="label" optionValue="value"
@input="onChange($event)"></Dropdown> @input="onChange($event)"></RPPDropdown>
</template> </template>
<script> <script>
export default { import Dropdown from '../dropdown/Dropdown';
export default {
inheritAttrs: false, inheritAttrs: false,
props: { props: {
options: Array, options: Array,
@ -24,7 +27,9 @@
} }
return opts; return opts;
} }
},
components: {
'RPPDropdown': Dropdown
} }
}
}
</script> </script>