These scripts are actually supported, but you must extend the ui.autocomplete widget to achieve the desired behavior. A quick example of the implementation of the selectFirst function:
$.widget( "ui.autocomplete2", $.ui.autocomplete, { _renderMenu: function( ul, items ) { var self = this; $.each( items, function( index, item ) { self._renderItem( ul, item ); });
Attention Always check if the new widget is compatible with the new version of jQuery UI!
Update: an example implementation of mustMatch can be found here: http://jqueryui.com/demos/autocomplete/combobox.html
jrumbinas
source share