[jQuery] Bassistance AutoComplete. Strange Behavior ...

[jQuery] Bassistance AutoComplete. Strange Behavior ...


Hello,
I have the following AutoComplete:
$("#Tags", "form#Create, form#Edit").autocomplete("/Tag/Filter/",
{
autoFill: true,
cacheLength: 1,
multiple: true,
mustMatch: true,
scrollHeight: 200,
selectFirst: false,
width: 280,
parse: function(data) {
return $.map(eval(data), function(row) {
return { data: row, value: row, result: row }
});
},
formatItem: function(item) { return item; }
});
When I select an item from the list the list does not close.
Other problem is that the "," is not added automatically when I select
an item.
I checked the example of Multiple Cities that works fine:
http://jquery.bassistance.de/autocomplete/demo/
What am I missing?
Thanks,
Miguel