Bug: onSearchItemClick not triggered with MDI icon

From the webix source:

"webix_input_icon": function (e) {
        this.getInputNode().focus();
        if (this.config.clear !== "hover" && e.target && e.target.classList.contains(this.config.icon)) this.callEvent("onSearchIconClick", [e]);
}

When the config.icon is mdi mdi-close the classList gets matched to mdi mdi-close which it won't find. It should split on space and check for all classes.

Tagged:

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!