I am working with Suggestion box in gwt, I have applied a selectionHandler on that suggestion box. If I select "abc" value then getSelectedItem().getDisplaySring() should return "abc" instead it returns
<strong>
a</strong>
bc.
Can someone help in this situation.. Why it returns wrong result.?
view.getMySuggetsionBox().addSelectionHandler(new SelectionHandler<SuggestOracle.Suggestion>() {
@Override
public void onSelection(SelectionEvent<Suggestion> event) {
Window.alert(event.getSelectedItem().getDisplayString());
}
});