No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    q-pagination @input

    Framework
    2
    3
    259
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Charlie last edited by

      @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"
      />
      
      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        You’ll need to watch if the value changes or not and handle accordingly.

        Scott

        1 Reply Last reply Reply Quote 0
        • C
          Charlie last edited by

          Thanks for your reply.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post