This content has been marked as final.
Show 3 replies
-
1. Suggestion doesn't disappear
boy18nj Mar 22, 2011 1:27 PM (in response to pdloc)1 of 1 people found this helpfulthis is not solution, but see if it works for you-
1) double click on arrow icon
2) click in field
3) click outside field
now the message will go away.
-
2. Re: Suggestion doesn't disappear
pdloc Mar 22, 2011 10:26 PM (in response to boy18nj)Thanks for your answer,
However, I used this component for several fields. And when I clicked on them one by one quickly, some dropdowns didn't disappear. The end users were not happy with that behavior.
-
3. Re: Suggestion doesn't disappear
ilya_shaikovsky Mar 23, 2011 6:14 AM (in response to pdloc)after you clicked once - callSuggestion API will focus the field automatically, and the second click causes the field to loose focus. So just try to modify the code to
onclick="#{rich:component('suggestion')}.callSuggestion(true); focusInputComponent()"
focusInputComponent() should return focus to input.