Datatables select2 editor issue
Datatables select2 editor issue
![TarikStoneman6789](https://secure.gravatar.com/avatar/84c991dba02d893739755da9bf75b10b/?default=https%3A%2F%2Fvanillicon.com%2F84c991dba02d893739755da9bf75b10b_200.png&rating=g&size=120)
I am using the Metronic bootstrap theme which packages up select2 + a whole other bunch of plugins into a plugins.bundle.js file.
When I try to use inline editor for select2, I get the following error on init
Cannot read properties of null (reading 'trim')
var n = t.getAttribute("class").trim().split(/\s+/);
I am assuming it has something to do with using Metronic theme's packages select2 but posting just in case anyone else has come accross this issue.
Replies
Is that error happening inside Select2? Are you able to link to a test case showing the issue?
Allan