You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fails when we have search enabled and searched 'foo', relevant code:
getInputByValue: function (value) {
var checkboxes = $('li input', this.$ul);
var valueToCompare = value.toString();
for (var i = 0; i < checkboxes.length; i = i + 1) {
var checkbox = checkboxes[i];
if (checkbox.value === valueToCompare) {
return $(checkbox);
}
}
},
This method, gets the first checkbox (actually first input, even search), and when an option's value is equal to the text written in search then the above method returns the search box instead of the actual checkbox.
Thank you.
The text was updated successfully, but these errors were encountered:
Hello,
fails when we have search enabled and searched 'foo', relevant code:
This method, gets the first checkbox (actually first input, even search), and when an option's value is equal to the text written in search then the above method returns the search box instead of the actual checkbox.
Thank you.
The text was updated successfully, but these errors were encountered: