here is my code, anything wrong with it ? it doesn\'t seem to display list on focus, i still have to press a key before it displays list
This working right way.
$.widget('custom.autocomplete', $.ui.autocomplete, { options: { minLength: 0 }, _create: function() { this._on(this.element, { focus: function(event) { this.search(); } }); this._super(); } });