Selectize library is stale/incorrect (selectize plugin field type)
Selectize library is stale/incorrect (selectize plugin field type)
Hi Allan,
We noticed that when trying to do clearOptionGroups() on a selectize field inst() for our editor, we ran into the error that clearOptionGroups() is not a function. Checking into the source code for selectize, it is:
https://raw.githubusercontent.com/selectize/selectize.js/master/dist/js/standalone/selectize.js
And checking into the cdn file found here:
https://editor.datatables.net/plug-ins/field-type/editor.selectize
https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.9.0/js/standalone/selectize.js
It does not exist. Perhaps that cdn file is stale or something?
Thanks!
This question has an accepted answers - jump to answer
Answers
The Editor page is referencing an old version of Selectize - the latest is available on CDNJS.
Thanks,
Allan