I have right now this function in my view, using Primefaces (6.2):
<p:inputText id="globalFilter" style="width:150px" onkeyup="PF('#{widgetVar}').filter()" placeholder="Searching..."/>
The filter function is fired right on the first keyup, so the user can't even enter 2-3 characters, which is bad.
How can I add some delay to it? As far as I saw there in no "delay" option on p:inputText, only on ajax events, but sadly I don't know how to rewrite it, to use this PF function AND ajax event...
Thank you for the help!