primefacesfilterselectonemenufilterfunction

How can I customize the filter function for SelectOneMenu


I tried to find on Primefaces Documentation but I have not found how can I customize the filter function for SelectOneMenu.

I add filterMatchMode="custom" filterFunction="#{mainRandevuBean.ilFilter()}"

But I don't know how can I write bean filterFunction.


Solution

  • I resolve this problem with autocomplete component. Primefaces autocomplete component with dropdown="true" property works like one menu.