QTable error in console.
-
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?
-
are you suing backend data?
-
yes. the data is being pulled from an API
-
You need to set the
rowsNumber
property in the pagination object. See here