Problem with TypeError: a.replace is not a function - in SearchBuilder default condition example.
Problem with TypeError: a.replace is not a function - in SearchBuilder default condition example.
When I select default column in conditions datatable 'startdate' and select condition 'after' or 'before' or any other, I get error in browser console: TypeError: resolved.replace is not a function
Although a calendar with date selection should be displayed. in this example everything works without errors
Please tell me what the problem is and how to fix it.
I googled the error, tried to fix it using the following links, but it didn’t work:
[https://datatables.net/forums/discussion/51791/uncaught-typeerror-this-replace-is-not-a-function]
https://datatables.net/forums/discussion/1586/datatable-is-not-a-function
Perhaps the problem is in ajax, or that the request is executed before the searchBuilder fields themselves are loaded.
This question has an accepted answers - jump to answer
Answers
Its hard to debug an example that doesn't show any errors . Could you link to your page showing the issue please?
Thanks,
Allan
It seems that I have already fixed it, installed all the latest version packages, as in the example, this caused an error. I started using older versions, which work correctly with each other.
Cool - thanks for letting me know.
Allan