SelectAutoComplter is a plugin for MooTools (1.2) that provides a way to create an editable
<select>. It works by replacing a
<select> in your document with a text field that uses the Quicksilver filtering algorithm to narrow down results.
- User lists
- Company lists
- Dropdowns with many items
Usage is simple. Just call
new SelectAutoCompleter(element) on any
<select> tag you would like to replace. Your server will receive the same response as if the
<select> was not replaced, so no backend work is needed.
index.html for a working example.
License is MIT. See LICENSE file.
- Need to refactor the keyboardListener function, it's messy
- Add a trigger to show the list without typing in the box (similar to clicking the down arrow on a select field)
- Add in effects to make it smoother
- Test thoroughly