When a data row contains boolean values, input type detection crashes?

When a data row contains boolean values, input type detection crashes?

redfellowredfellow Posts: 13Questions: 6Answers: 0

I added some logging into datatables.js to find out what happening, and looks like _stripHtml function crashes when the cell data is a boolean value.

I was able to work around this by adding input = ""+input into the _stripHtml function, casting the values to actual text.

Can I somehow fix this without actually touching datatables code? This didn't occur before 2.X update.

Debug code: ufotos

This question has an accepted answers - jump to answer

Answers

Sign In or Register to comment.