Can you check following whether it is what you need? If yes, I will post our solution here.
On Dec 22, 6:35 am, "ss.require" <[email protected]> wrote: > Hi there! > If I select an option in the SuggestBox popup by pressing the enter > key then onKeyUp event fire. But I don't want that it happens because > I already handle pressing the enter on the textbox by executing > another code. My code below: > > suggestBox.addSelectionHandler(new SelectionHandler<Suggestion>() { > public void onSelection(SelectionEvent<Suggestion> > arg0) { > //Here my code > } > }); > suggestBox.getTextBox().addKeyUpHandler(new KeyUpHandler() { > public void onKeyUp(KeyUpEvent arg0) { > if (arg0.getNativeKeyCode() == 13) { > //Here another my > code > } > } > }); > > How to disable this or what is the workaround? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
