Skip to content

Cannot Use SelectAll on mobile browsers #354

@MWC-Tech

Description

@MWC-Tech

When using selectAll() on a mobile browser in the documented way:
$("#filter-option-1")[0].sumo.selectAll();

this error is returned:

jquery-3.6.0.min.js:2 Uncaught TypeError: Cannot read properties of undefined (reading 'hasClass')
at jquery.sumoselect.min.js:88:260
at Array.forEach ()
at Object.toggSelAll (jquery.sumoselect.min.js:88:225)
at Object.selectAll (jquery.sumoselect.min.js:96:37)

However this works correctly on a desktop browser.

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