Q-table issue with pagination.sync
-
I was looking for a way to force the pagination to a defined “rows per page” value when I stumble upon an issue.
If the pagination.sync props is set inline, the whole quasar compilation fails (node is taking 100% CPU).
For example: <q-table :pagination.sync="{ rowsPerPage: 20, rowsNumber: 10 }"></q-table>
If the pagination is reactive data from the component, it works fine.
For example: <q-table :pagination.sync=“pagination”></q-table>
where data have pagination: { rowsPerPage: 20, rowsNumber: 10 }Here a codepen that reflect the issue:
https://codepen.io/jraez/pen/povYJaM