Bug #27826

Missing "size" Attribute in the Form.Upload ViewHelper

Added by Tim Lochmüller about 4 years ago. Updated over 2 years ago.

Status:Rejected Start date:2011-07-04
Priority:Won't have this time Due date:
Assigned To:Adrian Föder % Done:

0%

Category:ViewHelpers
Target version:-
Has patch:No Affected Flow version:FLOW3 1.0.0

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 consistent New 2009-12-05

History

#1 Updated by Stefan Neufeind about 4 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)?

#2 Updated by Karsten Dambekalns almost 4 years ago

  • Affected Flow version set to FLOW3 1.0.0

#3 Updated by Adrian Föder over 2 years ago

  • Category set to ViewHelpers
  • Status changed from New to Rejected
  • Assigned To 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 over 2 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