issues
search
pikax
/
vue-composable
Vue composition-api composable components. i18n, validation, pagination, fetch, etc. +50 different composables
https://pikax.me/vue-composable/
MIT License
1.18k
stars
64
forks
source link
useArrayPagination: currentPage stays at 0 when filling empty array
#1039
Open
Larsluph
opened
1 year ago
Larsluph
commented
1 year ago
Observed behavior
Create pagination with empty array (lastPage: 0 => currentPage: 0)
Fill array with data (API call or just async delay)
Empty results (lastPage: 114, currentPage: 0 != 1)
Expected behavior
Create pagination with empty array (currentPage: 0)
Fill array with data
First page is shown (currentPage: 1)
Observed behavior
Expected behavior