Using Bootstrap Multiselect instead of Select2 for Editor
Using Bootstrap Multiselect instead of Select2 for Editor
Is it possible to use http://davidstutz.github.io/bootstrap-multiselect/ instead of https://editor.datatables.net/plug-ins/field-type/editor.select2. I'm sure it is ... but looking at the sample javascript provided to integrate it in Editor ... what adjustments would be necessary to get it working? At the end its working with the same arrays ... e.g.
"options": [
{ "label": "1", "value": "1" },
{ "label": "2", "value": "2" },
{ "label": "3", "value": "3" },
{ "label": "4", "value": "4" },
{ "label": "5", "value": "5" }
]
Many thanks.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi,
I agree, it should be quite possible to use that library with Editor. You would need to create a field type plug-in for Editor to support it.
Then you just set the
field.type
option to point to the plug-in.Regards,
Allan
Thanks Allan. I'll look into this. Rgds