Submitting empty select2 (Editor)
Submitting empty select2 (Editor)
ZakInterDev
Posts: 51Questions: 16Answers: 0
in Editor
Hi guys
So I'm getting this error "Uncaught TypeError: Cannot read property 'length' of null" when submitting my editor form, only when my select2 input is empty. I tried validating beforehand using this example (https://editor.datatables.net/examples/api/clientValidation.html), though that didn't work, still the same error. Any ideas on how to solve this, or is it a bug on the DataTables side?
Thanks in advance!
This discussion has been closed.