<pe:inputNumber size=??? />

Community Driven Extensions Project
Post Reply
User avatar
Eus777
Posts: 21
Joined: 21 Oct 2011, 16:28
Location: Buenos Aires, Argentina

23 Mar 2012, 21:41

inputNumber is a great addition! but,
Is there any way to set the number of chars wide of the component? (not using styles)
Thanks PFExtensions team!
-- Eus777
PrimeFaces 3.5, PF Extensions 0.6.3
Mojarra-2.1.5, JBoss-7.1.0.Final

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

25 Mar 2012, 10:35

If you mean "size" attribute with "number of chars wide", it's be possible, I think. Have you tried this?

But keep in mind, if you set size with "size" attribute, it is browser specific how long the input field will be. Size of input field is normally set via CSS. This is more precise.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

User avatar
Eus777
Posts: 21
Joined: 21 Oct 2011, 16:28
Location: Buenos Aires, Argentina

26 Mar 2012, 14:13

My bad, just re-tested it and it works like a charm!
I've must built something wrong last time.
Well, thanks for this component, it really makes my life (a little bit) easier.
Keep up the excellent work!
-- Eus777
PrimeFaces 3.5, PF Extensions 0.6.3
Mojarra-2.1.5, JBoss-7.1.0.Final

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 11 guests