Skip to content

Destroy element #37

@pepoteloko

Description

@pepoteloko

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions