Fixed #159 - rowsPerPageOptions dropdown is not coming in Datatable
parent
246edd2f30
commit
e3ea89a475
|
@ -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>
|
Loading…
Reference in New Issue