Hi,
We are using:
a) SmartClient Version: v10.1p_2016-01-03/Pro Deployment (built 2016-01-03)
b) Testing using IE 11.0.9600.17905
Tabbing into the Combobox control with hint, does nothing but clear the hint, the user doesn't know that they are in the control ... as the cursor does not appear.
Thanks,
We are using:
a) SmartClient Version: v10.1p_2016-01-03/Pro Deployment (built 2016-01-03)
b) Testing using IE 11.0.9600.17905
Tabbing into the Combobox control with hint, does nothing but clear the hint, the user doesn't know that they are in the control ... as the cursor does not appear.
Thanks,
Code:
import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; import com.smartgwt.client.core.KeyIdentifier; import com.smartgwt.client.util.Page; import com.smartgwt.client.util.PageKeyHandler; import com.smartgwt.client.util.SC; import com.smartgwt.client.widgets.form.DynamicForm; import com.smartgwt.client.widgets.form.fields.ComboBoxItem; import com.smartgwt.client.widgets.form.fields.FormItem; public class ComboboxEntryPoint implements EntryPoint{ @Override public void onModuleLoad() { if (!GWT.isScript()) { KeyIdentifier debugKey = new KeyIdentifier(); debugKey.setCtrlKey(true); debugKey.setKeyName("D"); Page.registerKey(debugKey, new PageKeyHandler() { @Override public void execute(String keyName) { SC.showConsole(); } }); } DynamicForm dynamicForm = new DynamicForm(); dynamicForm.setPadding(30); dynamicForm.setItems(getComboBoxItemWithoutHint(), getComboBoxItemWithHint(), getComboBoxItemWithHint2()); dynamicForm.setWrapItemTitles(false); dynamicForm.show(); } private FormItem getComboBoxItemWithoutHint(){ ComboBoxItem comboBoxItemWithoutHint = new ComboBoxItem(); comboBoxItemWithoutHint.setTitle("Without Hint"); return comboBoxItemWithoutHint; } private FormItem getComboBoxItemWithHint(){ ComboBoxItem comboBoxItemWithHint = new ComboBoxItem(); comboBoxItemWithHint.setTitle("With Hint 1"); comboBoxItemWithHint.setShowHintInField(true); comboBoxItemWithHint.setHint("MyHint"); return comboBoxItemWithHint; } private FormItem getComboBoxItemWithHint2(){ ComboBoxItem comboBoxItemWithHint2 = new ComboBoxItem(); comboBoxItemWithHint2.setTitle("With Hint 2"); comboBoxItemWithHint2.setShowHintInField(true); comboBoxItemWithHint2.setHint("MyHint"); return comboBoxItemWithHint2; } }
Comment