Hi,
I am having problem with addChangedHandler() method of TextItem. The issue is only for internet explore. In Google Chrome and Mozilla Firefox it's working fine.
Issue is that addChangedHandler() method not get's called when we enter string value in text item although it's working fine for numeric values.
I am using 12.0-p20191102 version of smartgwt with enterprise edition.
You can refer below code to replicate the issue:
final TextItem smartSearch = new TextItem();
smartSearch.setName("smartSearchItem");
smartSearch.setHeight(30);
smartSearch.setWidth("100%");
smartSearch.addChangedHandler(new ChangedHandler() {
@Override
public void onChanged(ChangedEvent event) {
Logger.getLogger("").info("onChanged() called...");
if (null != event.getValue()) {
Logger.getLogger("").info("text: "+ event.getValue().toString());
}
}
});
DynamicForm form = new DynamicForm();
form.setFields(smartSearch);
HLayout layout = new HLayout();
layout.addMember(form);
layout.draw();
Please suggest.
Thanks
I am having problem with addChangedHandler() method of TextItem. The issue is only for internet explore. In Google Chrome and Mozilla Firefox it's working fine.
Issue is that addChangedHandler() method not get's called when we enter string value in text item although it's working fine for numeric values.
I am using 12.0-p20191102 version of smartgwt with enterprise edition.
You can refer below code to replicate the issue:
final TextItem smartSearch = new TextItem();
smartSearch.setName("smartSearchItem");
smartSearch.setHeight(30);
smartSearch.setWidth("100%");
smartSearch.addChangedHandler(new ChangedHandler() {
@Override
public void onChanged(ChangedEvent event) {
Logger.getLogger("").info("onChanged() called...");
if (null != event.getValue()) {
Logger.getLogger("").info("text: "+ event.getValue().toString());
}
}
});
DynamicForm form = new DynamicForm();
form.setFields(smartSearch);
HLayout layout = new HLayout();
layout.addMember(form);
layout.draw();
Please suggest.
Thanks
Comment