Skip to content

currentPage watcher #7

@Globerada

Description

@Globerada

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions