-
Notifications
You must be signed in to change notification settings - Fork 75
Autocomplete documentation wrong #244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It sounds to me like you're not using jQuery UI. |
I'm sure that I'm using jQuery UI Autocomplete plugin and documentation is wrong or not updated. |
I highly doubt that, but you can prove it with a reduced test case. |
autocomplete({ |
That's not really helpful. But to prove my point: http://jsbin.com/nesumujisa/1/ |
About source function, was described the "function" parameter :
A request object, with a single term property, which refers to the value currently in the text input. For example, if the user enters "new yo" in a city field, the Autocomplete term will equal "new yo".
but this property doesn't exist anymore. The request object is the term typed by user.
The same to "select" event:
select:function(event,ui){} where ui parameter comes undefined. And, "event" becomes "ui" without the "item" property - just ui.value and ui.label - no anymore ui.item.label ui.item.value
The text was updated successfully, but these errors were encountered: