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

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -