Closed tedberg closed 13 years ago
Version 2.8.3: The cache.search function has a bug:
$.each(element.data(), function (i, _elem) { if (_elem.search(text) != -1) { temp.push({'key': i, 'value': _elem}); } });
Element.data() contains the key/value pairs that came back from the server, but also a reference to the Select control itself. Here's the simple fix:
$.each(element.data(), function (i, _elem) { if (typeof _elem.search === 'function') { if (_elem.search(text) != -1) { temp.push({'key': i, 'value': _elem}); } } });
Thanks. just pushed your fix.
Version 2.8.3: The cache.search function has a bug:
Element.data() contains the key/value pairs that came back from the server, but also a reference to the Select control itself. Here's the simple fix: