PDA

View Full Version : ComboBox Bug



ydi
30 Dec 2010, 4:39 AM
I have a problem with the combobox.
I press the trigger, I have all values
I selecte a value
I press again the trigger, I have all values but after half a second it filters the value previously selected.

1
24025
2
24027
3
24026

I have already set trigger -> combo.setTriggerAction(TriggerAction.ALL);
I use GXT 2.2.1 , GWT 2.1.1

sven
30 Dec 2010, 4:42 AM
Can you please post some small testcase that implements EntryPoint and shows your problem? Changing the triggeraction to ALL should fix this normally.

I think this could be related toanother issue that has a patch already pending. Do you use a high query delay?

ydi
30 Dec 2010, 4:59 AM
when I select the trigger the second time, we go twice the doQuery method.
the first time from onTriggerClick,
the secode time from :
dqTask = new DelayedTask(new Listener<BaseEvent>() {
public void handleEvent(BaseEvent be) {
initQuery();
}
});

sven
30 Dec 2010, 5:12 AM
Yah, what i expected. There is already a patch pending for this. I will update this thread once that is in SVN.

ydi
30 Dec 2010, 5:22 AM
Thank you sven ;