I am trying to cancel chrome autofilling on my inputs using autocomplete="off"
. I have a case of a <p:selectOneMenu>
which have the attribute editable=true
. Then, when I focus on the field, chrome autocomplete propose some past texts. How can I cancel this autofilling knowing that the attribute autocomplete
is not available for <p:selectOneMenu>
?
I have already tried to manage it through javascript, but the onfocus
attribute concern dropdown click and not input area focus.