When a data row contains boolean values, input type detection crashes?
When a data row contains boolean values, input type detection crashes?
![redfellow](https://secure.gravatar.com/avatar/582f6bf4a79772f3af80c01a0062103d/?default=https%3A%2F%2Fvanillicon.com%2F582f6bf4a79772f3af80c01a0062103d_200.png&rating=g&size=120)
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