list.js icon indicating copy to clipboard operation
list.js copied to clipboard

Pagination false doesn't hide pagination

Open ABooooo opened this issue 4 years ago • 3 comments

Hi, if I set pagination to false I still see the pagination menu under the list. I also tried it in your codepen. If one changes value to false nothing happens. Am I understanding/using this wrong or is it a bug? Thank you

ABooooo avatar Nov 09 '21 09:11 ABooooo

Can someone please replay to this and check out if this really is a bug? Thanks!

if (options.pagination[0] === undefined) { - row 257, I guess [0] shouldn't be there

ABooooo avatar Nov 17 '21 11:11 ABooooo

I can reproduce on the codepen as well...

dragonstyle avatar Jan 10 '22 20:01 dragonstyle

I found this as well. Instead of setting pagination to false set it to undefined and you'll get the desired result.

jrcreative avatar Apr 20 '23 17:04 jrcreative