Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
InputSuggestAjax requires JSF to return a list of suggestions. This list of suggestions is diplayed in the popup. Selection of an item in the popup results in the item being entered into the text box.
There are occasions where it is desirable to be able to display an entry in the popup but enter a different entry in the input box. An example, of the top of my head, is a case where we want the user to enter a short country code into an input box. The suggestions might include things like "United Kingdom (UK)" or "United States (US)" or "Italy (IT)". However, selecting, say, Italy, should only enter "IT" into the input box.
This behaviour, I believe, is not possible with the current InputSuggestAjax.