v1.10.0 lengthmenu HTML Tags

v1.10.0 lengthmenu HTML Tags

quickstickquickstick Posts: 1Questions: 0Answers: 0

Hi guys,

I just upgraded to v1.10.0, and the lengthMenu variable is putting the MENU string outside whatever HTML I wrap it in.

Where the search variable is happy to wrap the INPUT variable in the HTML.

See the red border in my example below.

It worked perfectly in v1.9.4 - is this an intentional change for the new version?

Example - http://live.datatables.net/micuziq/2/

Replies

  • allanallan Posts: 63,494Questions: 1Answers: 10,470 Site admin
    edited May 2014

    It worked perfectly in v1.9.4 - is this an intentional change for the new version?

    Nope - a bug in 1.10.0! I've just committed a fix and it will be in 1.10.1 which will be released at the end of the month. Until then the nightly is now up to date. Updated example: http://live.datatables.net/micuziq/3/edit

    Btw, you need to use $().DataTable() if you want to use the new API (see FAQs).

    Thanks for letting me know about this and the test case!

    Allan

This discussion has been closed.