I am currently working on improving the appearance of <p:inputTextArea/>
. When the page loads, I notice:
And when I click on that TextArea
:
Here is the code:
<p:inputTextarea rows="6" value="#{bean.object.value}" style="width: 100%;" />
Is there a way to make the text area adjust its size according to the amount of text entered? Using rows="6"
works for small amounts of data, but it looks messy when more characters are added.