If SelectItem contains just one item and initially no item is selected, when using tab key to have the SelectItem focused, the Up and Down keys do not show the drop down box, and do not scroll through the items. The only workaround I found was to use a mouse to select the item from the drop down box or to set setAllowEmptyValue(true).
Is there any property of a SelectItem that fixes the behavior (without allowing empty value)?
The issue was tested on SmartGWT 2.4 in Firefox 3.6.7 and IE8
To reproduce the issue please use the next code:
public void onModuleLoad() {
SelectItem ddbox = new SelectItem("select", "Click Tab key to focus SelectItem");
ddbox.setValueMap("first value");
DynamicForm form = new DynamicForm();
form.setItems(ddbox);
RootLayoutPanel.get().add(form);
}
Thank you in advance.
Is there any property of a SelectItem that fixes the behavior (without allowing empty value)?
The issue was tested on SmartGWT 2.4 in Firefox 3.6.7 and IE8
To reproduce the issue please use the next code:
public void onModuleLoad() {
SelectItem ddbox = new SelectItem("select", "Click Tab key to focus SelectItem");
ddbox.setValueMap("first value");
DynamicForm form = new DynamicForm();
form.setItems(ddbox);
RootLayoutPanel.get().add(form);
}
Thank you in advance.
Comment