When a data row contains boolean values, input type detection crashes?
When a data row contains boolean values, input type detection crashes?
redfellow
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
The fix for this was committed a few days ago. I'm going to release 2.1.3 with the fix later today.
Allan