
Avoiding TypeError of accessing property ‘data’ on an undefined error. This error occurs when destroying an editable with input type select2 before the select2 has been created.
Avoiding TypeError of accessing property ‘data’ on an undefined error. This error occurs when destroying an editable with input type select2 before the select2 has been created.