AutoSuggest - way to filter results
Reported by Stephen Elson | July 17th, 2009 @ 01:44 PM | in 1.7
When a set of results a generated pass them to an optional user-supplied function (as an array) and let the user pass back the filtered results.
This allows the user to remove, add and reorder items.
// a reference to this function would be passed in as an option
function myFilter(results) {
// here I omit the first result
return results.slice(1);
}
Comments and changes to this ticket
-
Stephen Elson July 17th, 2009 @ 01:45 PM
- Title changed from Autosuggest: way to filter results to AutoSuggest: way to filter results
-
Stephen Elson July 17th, 2009 @ 01:49 PM
- Milestone changed from 1.6 to 1.7
-
Stephen Elson July 17th, 2009 @ 05:09 PM
- Tag changed from enhancement to enhancement, widgets
-
Stephen Elson July 18th, 2009 @ 09:48 AM
- Tag changed from enhancement, widgets to autosuggest, enhancement, widgets
- Title changed from AutoSuggest: way to filter results to AutoSuggest - way to filter results
-
Stephen Elson July 24th, 2009 @ 02:57 PM
- State changed from new to accepted
-
Michael Mathews August 11th, 2009 @ 02:43 PM
- Assigned user set to Michael Mathews
- State changed from accepted to open
-
Michael Mathews August 12th, 2009 @ 09:46 AM
- State changed from open to review
-
Michael Mathews August 13th, 2009 @ 11:13 AM
- State changed from review to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A JavaScript Library