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

Community Driven Extensions Project
User avatar
Melloware
Posts: 246
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 Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces 6.1 / PF Extensions 6.1.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
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests