3 Replies Latest reply on Jan 29, 2014 2:43 PM by hr6134

    Can't choose value from rich select with enableManualInput if value is substring of another value

    hr6134

      I have rich:select component with enableManualInput set "true".

      <rich:select value="#{productBean.item.cargoType}"

                   enableManualInput="true"

                   converter="#{cargoTypeSelectConverter}">

           <f:selectItems value="#{productBean.cargoTypes}"

                          var="cargo"

                          itemLabel="#{cargo.name}"/>

      </rich:select>

      cargoTypes list contains next values: "gazoline", "gazoline class A", "gazoline class B". If I try to select row "gazoline" will be selected row "gazoline class A". Any other rows selected without problem. So, it appear only if I try to select row which is substring of another. If we change "gazoline" to "gazoline class C", everything will be fine.

      Any suggestions how I can fix it?

      I use richfaces 4.2.3.Final