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

Behavior of rich:select component with duplicate labels

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.5.13
    • Fix Version/s: 4.5.14
    • Component/s: None
    • Labels:
      None

      Description

      On selecting items with same label but different values, its behavior is different.
      Code used is given below.

      <h:form id="loginForm">
        <rich:select id="richSelect" defaultLabel="Select Owner" enableManualInput="true"  >
          <f:selectItem  itemValue="" itemLabel="Select Option"></f:selectItem>
          <f:selectItem itemValue="Cat" itemLabel="apple"></f:selectItem>
          <f:selectItem itemValue="dog" itemLabel="apple"></f:selectItem>
          <f:selectItem  itemValue="Apple" itemLabel="apple"></f:selectItem>
          <f:selectItem itemValue="Ball" itemLabel="ball"></f:selectItem>
         </rich:select>
      </h:form>
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                yudhirb Yudhir Bhattarai
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: