Trying to get select2 createTag to work per https://select2.org/tagging. I get error at dataTables.editor.js line 5275 because canReturnSubmit not defined for the field.
The example seems to work now.
Thanks for looking at this and fixing some typos, but your version still has the problem.
I think either https://editor.datatables.net/plug-ins/field-type/editor.select2 (and other plugins?) should be extension of baseFieldType defined at dataTables.editor.js 8985, or line 5275 should be similar to line 5289.
Probably also https://editor.datatables.net/manual/development/field-types should be updated to be extension of baseFieldType if that's the correct solution.
I tried again but don't see that error. How do your recreate in the updated example?
I use chrome development tools which default to stop on exception. console should show the error in any case.
I'm not sure what the issue is. I have a select2 field configured similarly with tags but don't have the issue. However I am using an old version of Editor (1.6.2) on that page.
Maybe @allan or @colin can find something.
Sorry - I forgot to add, Kevin won't see this in 1.6.x since the key handling was modified since then.