suggestBox.setAutoSelectEnabled(false);


On Sat, Aug 22, 2009 at 6:54 PM, Jaap<[email protected]> wrote:
>
> Hi,
>
> I want to you a suggestbox like google uses it on google.com. So on
> google.com if I am typing I get selections (but none is selected yet).
> If I then press arrow down I can select one of the suggestions but if
> my suggestion is not there I keep on typing and hit enter and it
> searches what I typed.
>
> However in GWT when I make suggest box it automatically selects the
> first entry and uses that. So let's say I typed "harry" and hit enter
> it will make the entry "harry potter" if that is the first suggestion.
> I don't want that behavior. I just want to search what the user has
> typed. Only when the users presses arrow down and selects one of the
> suggestions it should search for that suggestion.
>
> How can I achieve that?
>
> Thanks
>
> Jaap
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to