Bug #27826

Missing "size" Attribute in the Form.Upload ViewHelper

Added by Tim Lochmüller over 10 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
Won't have this time
Assignee:
Category:
ViewHelpers
Target version:
-
Start date:
2011-07-04
Due date:
% Done:

0%

Estimated time:
Has patch:
No

Description

All inputs have the same attribute base. The "size" Attribute is missing in the Form.Upload ViewHelper...


Related issues

Related to TYPO3.Fluid - Task #26658: Make Form ViewHelpers consistentNew2009-12-05

Actions
#1

Updated by Stefan Neufeind about 10 years ago

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)?

#3

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.

#4

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.

Also available in: Atom PDF