Missing "size" Attribute in the Form.Upload ViewHelper
All inputs have the same attribute base. The "size" Attribute is missing in the Form.Upload ViewHelper...
Updated by Adrian Föder almost 9 years ago
- Category set to ViewHelpers
- Status changed from New to Rejected
- Assignee set to Adrian Föder
- Priority changed from Should have to Won't have this time
I agree to Stefan's comment; besides, you can use the
additionalArguments attribute if you want it anyways.
Feel free to ask again or reopen.
Updated by Ben N almost 9 years ago
Stefan Neufeind wrote:
Afaik there is no "size" with a meaning of field-width (for display) of a file-field, other than using css-styles. Or did you mean to use that for the maxlength-attribute (defined in HTML 3.2)?
Wrong. The size-attr is the only way to affect the displayed width of an input type file field in some browsers.
No, i didn't mean maxlength.
Size attr is in the "official" HTML5-spec, why ignore anyways? http://www.w3.org/TR/2011/WD-html5-20110525/common-input-element-attributes.html#the-size-attribute
@Adrian: Thx for the hint, i'll try that.