-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
I've added support for searching through title attributes, as titles for tooltip are so useful in multiselect. Perhaps somebody can crease a commit for similar or a better solution.
var title = $(element).attr("title").length > 0 ? $(element).attr("title") : "";
else if ((this.options.filterBehavior === 'title')) {
filterCandidate = title;
}
else if (this.options.filterBehavior === 'all') {
filterCandidate = text + '\n' + value + '\n' + title;
}
filterBehavior: 'title'
for searching only title attribute or ideally filterBehavior: 'all'
to search through text + value + titles.
Metadata
Metadata
Assignees
Labels
No labels