primefaces - p:dialog with resizable="true" doesn't resize when its p:inputTextarea resizes -
i have p:dialog resizable="true" , contains p:inputtextarea, resizable:
<p:dialog header="comment" widgetvar="commentdialog" modal="true" resizable="true" height="100"> <h:form> <h:outputlabel for="comment" value="comment:"/> <p:inputtextarea id="comment" title="comment" rows="6" cols="33" value="#{managedbean.comment}" required="true" styleclass="plaininput"/> <h:commandbutton value="submit"/> </h:form> </p:dialog> however, enter more text text area initial capacity, text area resize dialog not.
how make dialog resize text area?
remove height="100" attribute or set height="auto" instead.
*tested in primefaces 5.1.1
Comments
Post a Comment