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

rich:select selectFirst attribute not working

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.5.0.Beta1
    • Fix Version/s: 4.5.0.Beta2
    • Component/s: None
    • Labels:
      None
    • Sprint:
      4.5.0.Beta2 - Sprint 2
    • Steps to Reproduce:
      Hide

      With Showcase:

      • Start Wildfly 8.1
      • Deploy Showcase
      • Go to the page with select
      • Second select has manual input enabled
        • selectFirst is enabled by default
      • Try clicking the select
        • Options appear and first one is selected - OK
      • Start typing -> "a"
        • Narrowed list appears but the first option is not selected while it should be

      With Metamer:

      • Start Wildfly 8.1
      • Deploy Showcase
      • Go to the page with select
      • Amongst attributes set selectFirst=true
      • Try clicking the select
        • Options appear and first one is selected - OK
      • Start typing -> "a"
        • Narrowed list appears but the first option is not selected while it should be
      Show
      With Showcase: Start Wildfly 8.1 Deploy Showcase Go to the page with select Second select has manual input enabled selectFirst is enabled by default Try clicking the select Options appear and first one is selected - OK Start typing -> "a" Narrowed list appears but the first option is not selected while it should be With Metamer: Start Wildfly 8.1 Deploy Showcase Go to the page with select Amongst attributes set selectFirst=true Try clicking the select Options appear and first one is selected - OK Start typing -> "a" Narrowed list appears but the first option is not selected while it should be

      Description

      Rich:select with selectFirst=true and enableManualInput=true does not select the first option when you start typing.
      Once the rich:select input field is clicked, first element is (correctly) selected. However as user starts typing and the list narrows, the first option is not selected anymore.

      There is a test covering this which can be found here.
      Can be reproduced with Metamer and Showcase.
      Please see steps to reproduce for more detailed info.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bleathem Brian Leathem
                Reporter:
                manovotn Matej Novotny
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified