PDA

View Full Version : ComboBox Tab handling



mstijak
6 Jan 2011, 3:25 AM
This is how ComboBox handles Tab key


"tab" : function(e){
if (this.forceSelection === true) {
this.collapse();
} else {
this.onViewClick(false);
}
return true;
}
I think this is wrong, and it should be exactly the opposite. If forceSelection is true value should be selected from the list, and if it is false list should be collapsed.

Now when forceSelection is true, Tab works like Esc.