Thanks in advance!
If you don't mind breaking encapsulation, you can force your way
around this by calling the private showSuggestions method through
JSNI:
public static native void showSuggestions(SuggestBox sb) /*-{
sb.@com.google.gwt.user.client.ui.SuggestBox::showSuggestions(Ljava/
lang/String;)("");
}-*/;
But even with this hack, you're still at the mercy the SuggestOracle.
If the implementation you're using ignores blank queries (as
MultiWordSuggestOracle does), then you still won't get any results.
In the end, as Sanjiv suggested, you're probably better off going with
a different widget.
On Oct 9, 8:26 am, Nathan Williams <nlwil...@gmail.com> wrote:
> SuggestBox won't ask its oracle for suggestions if the length of the
> text in the composed TextBox is 0.
>
> If you don't mind breaking encapsulation, you can force your way
> around this by calling the private showSuggestions method through
> JSNI:
>
> public static native void showSuggestions(SuggestBox sb) /*-{
>
> s...@com.google.gwt.user.client.ui.SuggestBox::showSuggestions(Ljava/