We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b389dd commit f4783acCopy full SHA for f4783ac
src/RenderlessLaravelVuePagination.vue
@@ -86,13 +86,20 @@ export default {
86
limit: this.limit,
87
pageRange: this.pageRange,
88
prevButtonEvents: {
89
- click: this.previousPage
+ click: (e) => {
90
+ e.preventDefault();
91
+ this.previousPage();
92
+ }
93
},
94
nextButtonEvents: {
- click: this.nextPage
95
96
97
+ this.nextPage();
98
99
100
pageButtonEvents: page => ({
- click: () => {
101
102
103
this.selectPage(page);
104
}
105
})
0 commit comments