Select2 and CDN
Select2 and CDN
zajc
Posts: 67Questions: 10Answers: 2
in Bug reports
If we use this source: https://cdn.datatables.net/s/bs-3.3.5/jqc-1.11.3,moment-2.10.6,select2-4.0.0,dt-1.10.10,b-1.1.0,ef-select2-4.0.0,ef-title-1.0.0,se-1.1.0/datatables.min.js and a Select2 type field we are getting an error "Uncaught TypeError: Cannot read property 'safeId' of undefined" @ datatables.min.js.
If we use the latest js plugin source from https://editor.datatables.net/plug-ins/download?q=field-type/editor.select2.js it works fine.
This discussion has been closed.
Replies
Have you also included the Editor source? Editor is not available on the CDN.
Allan
You can remove this thread I just made a mistake.
Well, it really doesn't work. Here is an example, directly from the generator:
https://zajc.xyz/hasdjh/test.html
I get the following error:
Cannot read property 'safeId' of undefined
Thank you for the link. I believe this will be resolved with the next release of the Select2 plug-in for Editor, but I will double check when I get into the office on Monday.
Allan