Re: Pressing the enter key in the SuggestBox popup fire onKeyUp event! How to disable this?

2015-08-07 Thread mohammed rizwan
> > As @Stole mentioned, use isSuggestionListShowing() of the SuggestBox in > KeyDownHandler instead of KeyUpHandler and move your existing from KeyUp to > KeyDowm. Because onSelection will trigger before onKeyUp but after > onKeyDown > mySuggestBoxObject.addKeyDownHandler(new KeyDownH

Re: Pressing the enter key in the SuggestBox popup fire onKeyUp event! How to disable this?

2009-12-30 Thread Michael W
Forget to attach url: http://www.holidayinn.com/hotels/us/en/home See whether it is what you need. On Dec 23, 11:49 am, Michael W wrote: > 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" wrote: > > > Hi there! >

Re: Pressing the enter key in the SuggestBox popup fire onKeyUp event! How to disable this?

2009-12-26 Thread dilbert
Have you tried checking isSuggestionListShowing() of the SuggestBox in the KeyUpHandler. If the method returns true You could skip processing the event. I haven't tried it but it could work. On Dec 22, 12:35 pm, "ss.require" wrote: > Hi there! > If I select an option in the SuggestBox popup by pr

Re: Pressing the enter key in the SuggestBox popup fire onKeyUp event! How to disable this?

2009-12-23 Thread golfdude
I had the same requirement and ended up writing my own SuggestBox ( started from the code of gwt suggestbox ). -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To un

Re: Pressing the enter key in the SuggestBox popup fire onKeyUp event! How to disable this?

2009-12-23 Thread Michael W
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" 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 alread

Pressing the enter key in the SuggestBox popup fire onKeyUp event! How to disable this?

2009-12-22 Thread ss.require
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() {