You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by GitBox <gi...@apache.org> on 2021/02/24 09:50:57 UTC

[GitHub] [struts] lukaszlenart commented on pull request #474: WW-2411 Add a maxlength attribute to the textarea tag

lukaszlenart commented on pull request #474:
URL: https://github.com/apache/struts/pull/474#issuecomment-784951793


   You must also modify [`template/simple/textarea.ftl`](https://github.com/apache/struts/blob/master/core/src/main/resources/template/simple/textarea.ftl#L21-L47), add something like this:
   ```
   <#if parameters. maxlength?has_content>
    maxlength ="${parameters. maxlength}"<#rt/>
   </#if>
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org