Pixabay/jQuery-autoComplete

After setting 'setSource', list is showing new and old items.

gchervet opened this issue · 0 comments

I set up my autocomplete object like this

$(function () { $("#myCombo").autocomplete({ source: ["gordon","cole"] }); });

And then, I give it this new source

$(function () { $("#myCombo").autocomplete('setSource', ["dale","cooper"] }); });

Im REALLY sure it's a problem of mine but let me know what am I doing wrong

and thanks!