SmartGWT Pro nightly build from 3/21
Chrome 10.0.648.204
When you run this in chrome, there are no errors, however clicking on the combobox does not trigger it to drop down. the setDefaultToFirstOption() works however. The same behavior is also seen with the SelectItem. The code works perfectly in the latest version of firefox.
Chrome 10.0.648.204
When you run this in chrome, there are no errors, however clicking on the combobox does not trigger it to drop down. the setDefaultToFirstOption() works however. The same behavior is also seen with the SelectItem. The code works perfectly in the latest version of firefox.
Code:
DynamicForm modeForm = new DynamicForm(); modeForm.setTitleOrientation(TitleOrientation.TOP); ComboBoxItem modeChooser = new ComboBoxItem(); modeChooser.setTitle("Pick a Mode"); modeChooser.setValueMap("Grid", "table", "Extra Special mode", "The Truth"); modeChooser.setDefaultToFirstOption(true); modeChooser.addChangedHandler(new ChangedHandler() { @Override public void onChanged(ChangedEvent event) { } }); modeForm.setItems(modeChooser); modeForm.draw();
Comment