Skip to content

the select/deselect family of functions crashes on non-select items #330

@scottopell

Description

@scottopell

I recently had an issue where I would call $('.myclass').multiselect('select', 'myvalue') and I didn't realize that my selector matched not only the multiselect target that I was trying to match, but also some other random elements.

It should probably skip over non-multiselect enabled objects instead of crashing and preventing the rest of the elements from being acted on (if it were in a selectall for instance).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions