Page 2 of 2
Re: pe:inputNumber - text-align not applied in v3 [unsolved]
Posted: 29 Dec 2016, 01:43
by Melloware
Input Number has been moved to PF 1st class component:
http://www.primefaces.org/showcase/ui/i ... mber.xhtml
I would try it with that component before reporting any issues.
Re: pe:inputNumber - text-align not applied in v3 [unsolved]
Posted: 06 May 2017, 15:08
by alovasconcelos
In order to change the style of the input component, we can use the
inputStyle property.
Code: Select all
<p:inputNumber id="foo" label="foo"
value="#{bean.currentRecord.value}"
required="true"
size="10"
symbol=" %"
onfocus="this.select()"
symbolPosition="s"
emptyValue="0"
inputStyle="text-align: right;"
requiredMessage="Please, type the value"
widgetVar="foo"
/>