I'm using the Primefaces extension to format an input of a person's weight and height and I could not. How do I limit the amount of characters entered in input ?
I tested it with maxlength="5"
but it did not work:
<pe:inputNumber
id="peso"
maxlength="5"
label="Peso"
value="#{pessoaBean.pessoaCaracFisica.peso}"/>