autocomplete
autocomplete copied to clipboard
Can not enter "("
Can not enter "(". "(" = ARROWDOWN
This is what I did...
function manageKey (event) {
var key = event.which,right;
//the user hasn't finish pressing their key eg & is shift-7. Without this & = up arrow.
if (event.shiftKey || event.ctrlKey) {
return true;
}
And I wanted the TAB key to behave more naturally.
case TAB:
if (iOpen) { $input.trigger('pick.xdsoft');}
return true;
There is only an issue with the TAB key when the next element is also an autocomplete.
A little update for the TAB key:
case TAB:
if ( iOpen ) {
if ( $dropdown.find('div.active :visible').length === 0 ) {
$input.val(currentValue);
} else {
$input.trigger('pick.xdsoft');
}
} else {
$input.val(currentValue);
}
return true;