Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-141

InputSuggestAjax should allow differentiation between text in popup and text in input box

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.5
    • InputSuggestAjax
    • 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.

      Attachments

        Activity

          People

            bierbrauer Gerald Müllan
            jpace Jean-Claude Pace
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: