function getFilteredList() {
            var filterPhrase = inputEl.val().toLowerCase();
            return list.filter(function(p) {
                if (p.section) {
                    return true;
                }
                return p.name.toLowerCase().indexOf(filterPhrase) !== -1;
            });
        }
- inputEl
- resultsEl
- list // {name: ..., html: ...}
- onSelect
- onUpdate
- onCancel
- onDelete