i have a filter on the <p:selectOneMenu component. The filter works well by shorting the options after each input character.
The problem ist, the user can not using the DOWN arrow key to select the wanted option. Pressing the UP/DOWN arrow keys will move the input cursor in the input-filter.
My search didn't show me how to fix/change this behaviour.
Thank you guys for any help
Code: Select all
<h:form id="select_form">
<p:selectOneMenu id="scr" filter="true" effect="fade"
filterMatchMode="contains" value="#{scrBean.selectedScrId}"
style="width:100%">
<f:selectItems value="#{srcBean.activeScrs}" var="s"
itemLabel="#{s.name}" itemValue="#{s.id}" />
<p:ajax
update=":some_component"
listener="#{scrBean.handleSelection}" async="true" />
</p:selectOneMenu>
</h:form>