Skip to content

Change even not functional #22

Open
@KoenLav

Description

@KoenLav

After removing the jQuery dependency the change event on selects is no longer fully functional (when using Materialize, or any other package which wraps selects, for that matter).

jQuery change will listen for any change (even programatically) on the original element, whereas pure Javascript change will only listen fire when a change is accompanied by a change of focus (which does not occur when a select is changed programatically).

http://stackoverflow.com/questions/7055729/onchange-event-not-fire-when-the-change-come-from-antoher-function

Suggested fix: allow jQuery to be used by setting addBinding)){ jQuery: true })

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