Open validol4ik opened 2 years ago
1.0.0
Ubuntu 21.04
Laptop Acer
Chrome 99.0.4844.74 (Official Build) (64-bit)
When you select page, the currentPage option in the data must be changed
currentPage doesn't change because v-model doesn't work (to create v-model on a component you must use prop value and event @input in Vue 2)
Change the emit event from @change to @input on the base-pagination component
I just added my method for changing the current page using @change event of base-pagination component. But It's not good...
Version
1.0.0
Operating System
Ubuntu 21.04
Device
Laptop Acer
Browser & Version
Chrome 99.0.4844.74 (Official Build) (64-bit)
Steps to reproduce
What is expected?
When you select page, the currentPage option in the data must be changed
What is actually happening?
currentPage doesn't change because v-model doesn't work (to create v-model on a component you must use prop value and event @input in Vue 2)
Solution
Change the emit event from @change to @input on the base-pagination component
Additional comments
I just added my method for changing the current page using @change event of base-pagination component. But It's not good...