i am using jquery-ui 1.11.4 with selectmenu autocomplete
My selectmenu has items with values like 4, 44, 5, 55,
555 pressing the keys(4 or 5) multiple times the autocomplete
feature selects only the items with value 4 or 5 but not the
others
i found the problem in the ui.menu widget
(jquery-ui.js)
_keydown:
function( event ) {
........
default:
preventDefault = false;
prev = this.previousFilter
|| "";
character =
String.fromCharCode( event.keyCode );
skip = false;
clearTimeout(
this.filterTimer );
if ( character === prev ) {
skip = true;
} else {
character
= prev + character;
}
if i comment
out the "skip check" it works the autocomplete
feature select items with all values 4, 44, 5, 55 and 555
I don't want to change the jQuery-UI files What are the opportunities to solve this problem (bug?)
how can i change the selectmenu width (after ajax refresh) dependent on
selectbutton text so the text is seen without ellipses
.selectmen('refresh') does'nt do that