TahaSh / vue-paginate

A simple vue.js plugin to paginate data
MIT License
593 stars 103 forks source link

Paginate list stay empty after source array was filtered #105

Closed Prechan closed 6 years ago

Prechan commented 6 years ago

Hi,

In my app, the computed property array is filtered by user's inputs, size may change and sometimes being empty. When computed properties return an empty array, paginate list become empty. But if user changes the filter and computed properties return an non empty array, paginate list stay empty even so.

As if it doesn't update anymore after a first empty event.

Do you have an idea how to solve this problem ? It seems linked to vue-paginate.

Thanks for your help !

wunderlichh commented 6 years ago

Try @mornir solution from #82. It worked great for me.

Prechan commented 6 years ago

Thanks ! Works great !