#5106 closed bug (worksforme)
Wrong params in callback
Reported by: | insekticid | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | 1.8 |
Component: | ui.autocomplete | Version: | 1.8rc1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When I want to access item params in callback function - object in object is given
Now
$('#ac_ajax').autocomplete({'select':function (event, item) { $("#country_code").val(item.item.id); }});
Patched
$('#ac_ajax').autocomplete({'select':function (event, item) { $("#country_code").val(item.id); }});
Attachments (1)
Change History (3)
Changed 13 years ago by
Attachment: | autocomplete-callback-params.patch added |
---|
comment:1 Changed 13 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 Changed 13 years ago by
Could you pls send me link to the documentation? Because here http://jqueryui.com/demos/autocomplete/ is nothing about it
Note: See
TracTickets for help on using
tickets.
This is functioning as intended and as documented.