q-pagination @input
-
@input will trigger when i get total pages from my api.
But i dont’t want it happen because it doesn’t chane page.
How can i resolve this problem.
<q-pagination v-model="pagination.pageNumber" :max="pagination.totalPages" input input-class="text-orange-10" @input="changePage" />
-
You’ll need to watch if the value changes or not and handle accordingly.
Scott
-
Thanks for your reply.