Actions
Feature #71290
closedUploadViewHelper misses accept tag attribute
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2015-11-03
Due date:
% Done:
100%
Estimated time:
PHP Version:
Tags:
Complexity:
no-brainer
Sprint Focus:
Description
Currently it's not possible to add the "accept" attribute to <f:form.upload>.
M.e it's enough to register the tag attribute:
@$this->registerTagAttribute('accept', 'string', 'Specifies the types of files that the server accepts');@
Accept attribute:
http://www.w3schools.com/tags/att_input_accept.asp
Files
Updated by Wouter Wolters about 9 years ago
- Status changed from New to Resolved
Use `additionalAttributes` which is a common API for adding undeclared attributes with arbitrary values to any TagBasedViewHelper, which all the form field ViewHelpers are.
Closing as "resolved" because an official API exists for arbitrary attributes.
Actions