Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-9575

rich:autocomplete - shows empty completion list when minChars set but not enough chars provided

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.0.0.Milestone3
    • Fix Version/s: 4.0.0.Milestone6
    • Component/s: component-input
    • Labels:
      None
    • Environment:

      RichFaces 4.0.0-SNAPSHOT r.19720
      Mojarra 2.0.2-FCS
      Apache Tomcat 6.0.29
      OpenJDK Runtime Environment 1.6.0_18-b18 @ Linux
      Chrome 7.0.517.41 @ Linux x86_64

    • Steps to Reproduce:
      Hide

      1. deploy Metamer
      2. open http://localhost:8080/metamer/faces/components/richAutocomplete/autocomplete.xhtml
      (works for mode=

      {ajax,cachedAjax}

      )
      3. minChars=2
      4. type "al"
      (the completion shows Alabama, Alaska)
      5. press backspace
      FAIL: the completion shows empty list

      Show
      1. deploy Metamer 2. open http://localhost:8080/metamer/faces/components/richAutocomplete/autocomplete.xhtml (works for mode= {ajax,cachedAjax} ) 3. minChars=2 4. type "al" (the completion shows Alabama, Alaska) 5. press backspace FAIL: the completion shows empty list

      Description

      Using steps to reproduce, you can see empty completion list which can tempt user to believe that no items are actually available in model.

      It will be much more convenient to don't show list at all in this case.

      (works for mode=

      {ajax,cachedAjax}

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pyaschenko Pavel Yaschenko
                  Reporter:
                  lfryc Lukáš Fryč
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: