User only sees term titles, so use the titles too when autocompeting.
NB: This is a bit of a hack so we don't have to touch jquery.autocomplete code. Strictly speaking there's nothing wrong with the original parse(), the form field values should be the token. However, in our other hooks into the code we ignore value already, the only place it gets used is to autocomplete.
A more correct fix would be to add the ability to customise what receiveData() sends to autoFill().
...and while you're there make autoFill() actually check what it's autocompleting, and rewrite the rest of the widget :)
User only sees term titles, so use the titles too when autocompeting.
NB: This is a bit of a hack so we don't have to touch jquery.autocomplete code. Strictly speaking there's nothing wrong with the original parse(), the form field values should be the token. However, in our other hooks into the code we ignore value already, the only place it gets used is to autocomplete.
A more correct fix would be to add the ability to customise what receiveData() sends to autoFill().
...and while you're there make autoFill() actually check what it's autocompleting, and rewrite the rest of the widget :)