Hello,
I believe I found a bug with the ComboBoxItem.
When using the mouse to select or tabbing to the next field (if applicable), it works. When using the filter (type ahead) feature to select a value and hitting "ENTER", the class `com.smartgwt.client.util.SC` is not fired.
Sample Code
Please let me know if there is anything else you might need.
I believe I found a bug with the ComboBoxItem.
When using the mouse to select or tabbing to the next field (if applicable), it works. When using the filter (type ahead) feature to select a value and hitting "ENTER", the class `com.smartgwt.client.util.SC` is not fired.
Sample Code
Code:
final DynamicForm testForm = new DynamicForm(); final ComboBoxItem testField = new ComboBoxItem(); testField.setValueMap("value 1", "value 2", "value 3"); testForm.setFields(testField); testForm.draw(); testField.addChangedHandler(event -> { if (event.getItem().getValue().equals("value 2")) { SC.say("you selected value 2"); } });
Comment