1 Reply Latest reply on Sep 16, 2011 4:13 AM by Mette Hummel

    Rich:select

    Mette Hummel Newbie

      I have a rich:select which works fine except for one ting.

       

      If the user types the full value in the inputfield and presses tab to go to the next field the value is grey and the valueChangeListener is not called.

      If the user types the full value and then press enter it works like a charm. Is there a way to make this work without the user having to press enter?

      We use RichFaces 4.

       

      <rich:select id="felttype" styleClass="felttype" listWidth="200px"

            onkeydown="event.stopPropagation();"

            onkeypress="event.stopPropagation);"

            enableManualInput="true"                                      

            value="#{rad.plasseringHorisontal}"

            valueChangeListener="#{listFeltdetaljerResultatBean.endretVerdiSelect}">

             <f:selectItems value="#{ovfFeltypeMetaBean.ovfFelttypeMetaItemListeMedBlank}" />

             <f:ajax event="selectitem" render=":form:verktoylinje" />

      </rich:select>