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

    QTable error in console.

    Help
    2
    4
    1553
    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.
    • T
      thindery last edited by thindery

      I am seeing this error in my console and I do not know what it is related to:

      Error in getter for watcher “pagesNumber”: "TypeError: Cannot read property ‘slice’ of null"

      I feel like it is pagination? the only settings I have are

       :pagination.sync="pagination"
      

      and the data:

      pagination: {
        sortBy: null,
        descending: false,
        page: 1,
        rowsPerPage: 50 // current rows per page being displayed
      },
      

      Anyone know what the error is tied to?

      1 Reply Last reply Reply Quote 0
      • benoitranque
        benoitranque last edited by

        are you suing backend data?

        1 Reply Last reply Reply Quote 1
        • T
          thindery last edited by

          yes. the data is being pulled from an API

          1 Reply Last reply Reply Quote 0
          • benoitranque
            benoitranque last edited by

            You need to set the rowsNumber property in the pagination object. See here

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