Updating datatables- Error Cannot Read Properties of undefined (reading 'Modal')
Updating datatables- Error Cannot Read Properties of undefined (reading 'Modal')
We are in the process of updating to datatables v1.13.4 with bootstrap 5 and all relavent plugins in our project. The table displays correctly but when clicking New or edit we receive "Error Cannot Read Properties of undefined (reading 'Modal')" instead of the familiar editing popup. We have jquery 3.7 and bootstrap 5.2.2. These are loaded before datatables.js and we do not have duplicate calls. We are upgrading from v1.10.15. This version works with the new jquery and bootstrap. Once we update to the current version of datatables, we get the cannot read error. Any help would be greatly appreciated.
Answers
Are you able to give me a link to your page (or perhaps PM it to me if you can't make it public)? It sounds like the Bootstrap Javascript might not be getting loaded, but I'd need to be able to see the page to say for sure.
Allan
Thank you for your quick response. I am sending you a PM now with the website and login info.
Hi Allan I get this same error when I try to use Editor in Vue, please if you have answered it may you share it here?
I also forgot to mention something,
I do not use the datatables.net-vue component. I just started it from scratch and this is my arrangement of imports:
As I mentioned in my previous reply in this thread, I'd need a link to a test case showing the issue please.
Allan