LeaVerou / awesomplete

Ultra lightweight, usable, beautiful autocomplete with zero dependencies.

Home Page:http://leaverou.github.io/awesomplete/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nothing selected message

DjovDev opened this issue · comments

commented

I have my awesomplete configured as such:

var input = document.getElementById("itemSelector");
var itemList = JSON.parse(ajax.responseText).map(function (i) { return { label: i.label, value: i.value, rack: i.rack } });
new Awesomplete(input, { minChars: 7, maxItems: 10, list: itemList });

As you can see, my list is populated with one ajax call beforehand.

If the user inputs a value that is not found, is there a possiblity to display a message "No items found"?