Hoy can I delete an multiselect? I'm trying to delete a select2-multi-checkboxes element, I can delete the original input but the select2 stills remains in the html.
In a normal select2 I can use $("#element").select2('destroy');, but here is not working.
I want to delete the select2 and change the input for a normal (text) one.
Thanks a lot!
Hoy can I delete an multiselect? I'm trying to delete a select2-multi-checkboxes element, I can delete the original input but the select2 stills remains in the html.
In a normal select2 I can use
$("#element").select2('destroy');, but here is not working.I want to delete the select2 and change the input for a normal (text) one.
Thanks a lot!