Open Globerada opened 6 years ago
Hi. I am trying to use prop currentPage so I can update the pagination component when some filters has been applied (start in first page).
<pagination :current-page="currentPage" :total="total" :page-size="pageSize" :callback="pageChanged" :options="paginationOptions" nav-class="padding-10" ul-class="bg-color-red" li-class="txt-color-blue"> </pagination>
However, modifying currentPage in root doesn't have any effect. I have never seen a watcher with immediate and handler options. Is this correct? Thanks!
Yeah currently the component does not take in currentPage prop. it would be good if we can set the currentPage to the pagination.
Hi. I am trying to use prop currentPage so I can update the pagination component when some filters has been applied (start in first page).
However, modifying currentPage in root doesn't have any effect. I have never seen a watcher with immediate and handler options. Is this correct? Thanks!