Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set height fixed in inputTextarea (PrimeFaces)

Tags:

css

primefaces

I try that:

<p:inputTextarea id="lineTest" rows="7" cols="33" style="height: 100px; overflow:auto;" value="#{manageLineBean.lineTest}" />   

But when writing a lot in, this height of the field gets increased. How can I fix this using just overflow:auto?

like image 946
Helio Bentzen Avatar asked Dec 12 '22 22:12

Helio Bentzen


1 Answers

Try to set autoResize="false", otherwise, search similar attribute in docs.

UPD: http://www.scribd.com/doc/98840317/74/InputTextarea

like image 106
Vladyslav Lubenskyi Avatar answered Dec 22 '22 01:12

Vladyslav Lubenskyi