Bug #70054
closedFluid textare Viewhelper: maxlength tag attribute is missing
0%
Description
f:form.textarea dont have a maxlength attribute. Patch from 7.4.0 core attached (code source from f:form.textfield)
Files
Updated by Claus Due almost 9 years ago
I think this one would be dismissed, referring to `additionalAttributes` which is a common API for adding undeclared attributes with arbitrary values to any TagBasedViewHelper, which all the form field ViewHelpers are.
Updated by Claus Due almost 9 years ago
- Status changed from New to Resolved
Use suggested API. Closing as "resolved" because an official API exists for arbitrary attributes.
Updated by Manfred Rutschmann almost 9 years ago
I know that I can set maxlength by additionalAttributes. The textarea maxlength is an official attribute. Should then the form ViewHelper with the tag attributes not be compliant to this? At one viewhelper you have maxlength, at the other one not. That's a crap and not consistent. It's one line of code to fix this, patch is attached.
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed