"Entries per Page" widget disappears when Buttons are added

"Entries per Page" widget disappears when Buttons are added

droitdroit Posts: 1Questions: 1Answers: 0

When Buttons are enabled, they replace the "Entries per Page" dropdown widget. Is there a way to have both of these work together ?

Code snippets at JSFiddle : https://jsfiddle.net/t4u1uyv2/2/

Can someone please clarify if this is a bug that is being tracked or if a workaround has to be followed to have both the Buttons and the "Entries per Page" widget work together ?

Answers

  • allanallan Posts: 63,704Questions: 1Answers: 10,502 Site admin

    There is no bug here - the issue is that your dom option (dom: 'Bfrtip',) doesn't include the l property which denotes the length change option in the DOM structure. Just add l where you want it to appear in the DOM order.

    Allan

This discussion has been closed.