Cannot set property 'currentDay' of undefined
Cannot set property 'currentDay' of undefined

I am using date range column filter and when I select a date it throws the error "cannot set property 'currentday' of undefined at datepicker._selectday". After some debugging, I found out a reason, DataTables, which duplicates contents of tfoot, thus creating an exact copy of datepicker elements. And I had this datepicker inputs in tfoot row.
Debugger code: https://debug.datatables.net/ivarow
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin