You can listen to SelectionEvents, which fire when the user selects an item in
the popup. If you want the user to be able to type in a value and not select
an item I would also listen to ValueChangeEvents.
--
You received this message because you are subscribed to the Google Groups
Google
Yes we're seeing situations where it doesn't fire a ValueChangedEvent. If
you type some characters, arrow down into the search results, then tab out
of the field it selects that suggestion, sets the textbox value, but
doesn't fire a ValueChangedEvent.
On Sunday, November 3, 2013 9:42:40 AM
We're doing that. One solution that almost worked was to listen for both
the onBlur from the textbox and the onClose from our SuggestionDisplay's
PopupPanel. In the onBlur for the textbox we would look to see if the
SuggestionDisplay's PopupPanel was still visible. If so we knew they could
be
Wouldn't a ValueChangeHandler be more appropriate for firing validation?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
How about extending the popup interface SuggestDisplay? You can then handle the
callbacks which get fired when the popup is hidden.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails
What are you actually trying to do? Maybe we can suggest an alternative to the
FocusHandler.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
We're using a SuggestBox as an in-place editor and need to know when
they're blurred from the SuggestBox so we can fire validation and other
logic. If we only listen for the blur on the TextBox we can end up firing
this logic while they're in the SuggestionDisplay which is premature.
Thanks,
We're using a SuggestBox as an in-place editor and need to know when
they're blurred from the SuggestBox so we can fire validation and other
logic. If we only listen for the blur on the TextBox we can end up firing
this logic while they're in the SuggestionDisplay which is premature.
Thanks,
Adding a FocusHandler to the TextBox isn't quite what I need. The TextBox
will blur when the user arrows down into the suggestion display. When this
occurs they really haven't left the SuggestBox yet as they're still
navigating through the suggestions. I'd be more interested in a blur event
On Feb 9, 6:32 am, bestey bes...@gmail.com wrote:
Just wondering if there is an easy way to know when focus is lost from
a SuggestBox?
It doesn't implement HasFocusHandlers and HasBlurHandlers but it does
have HasFocus!
Any advice would be appreciated.
Attach your handlers to the
Just wondering if there is an easy way to know when focus is lost from
a SuggestBox?
It doesn't implement HasFocusHandlers and HasBlurHandlers but it does
have HasFocus!
Any advice would be appreciated.
Thanks,
Brian
--
You received this message because you are subscribed to the Google Groups
11 matches
Mail list logo