rubanraj54 / vue-bootstrap4-table

Advanced table based on Vue 2 and Bootstrap 4 ⚡️
MIT License
219 stars 57 forks source link

Bug: config.per_page resets config.page #55

Open nullday opened 5 years ago

nullday commented 5 years ago

If pass per_page and page properties in the config, then it's always the first page. If pass just page then it works fine, it renders specified page after mount. If pass per_page, page and preservePageOnDataChange: true, then it works fine as well. But in my case I would like to keep preservePageOnDataChange: false but be able to set a specified page that should be displayed after the table component mounted.

P.S. I'm working on state save/load feature.