I want customize the look of each item in the list created by the
Autocomplete mixin.

Currently, I just return an id for each object. But I'd rather return
HTML-formatted output.

For example, right now I just return a simple String to populate the match
list:

return getName();

But I want to add more complex output. For example this:

return "<span class="name">"+getNam()+"</span><span class="url"
style=\"float: right;\">"+getUrl()+"</span>";

The problem is, the Autocomplete mixin treats it as a literal String.

Is there any way to really customize the presentation of each row in the
match list?

Reply via email to