ICEfaces
  1. ICEfaces
  2. ICE-9473

ace:comboBox filter is applied to item value and not the label

    Details

    • Assignee Priority:
      P1
    • Salesforce Case Reference:

      Description

      When using the comboBox's listValue to populate the drop down, the filter searches based on the item value and not the label. This is obviously not intuitive for users. For example:

      <ace:comboBox listVar="department" listValue="#{testBean.departments}" itemValue="#{department.id}"
      filterMatchMode="contains">
      <f:facet name="row">
      <h:outputText value="#{department.name}" />
      </f:facet>
      <ace:ajax execute="@this" render="@all" />
      </ace:comboBox>

      renders:

      <span class="ui-combobox-item-label"><span id="iceForm:selectDepartment:0:_t7">Test 1</span></span>
      ........
      <span class="ui-combobox-item-value" style="visibility:hidden;display:none;">1</span></div>

      Typing in 'Test 1' does not return a matching value.

        Issue Links

          Activity

            People

            • Assignee:
              Arturo Zambrano
              Reporter:
              Tyler Johnson
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: