pe:inputNumber - text-align not applied in v3 [unsolved]

Community Driven Extensions Project
Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

29 Dec 2016, 01:43

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.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

alovasconcelos
Posts: 1
Joined: 08 Mar 2016, 15:18

06 May 2017, 15:08

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" 
		/>	

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests