Bug #82223

ext:form missing id attribute on file input

Added by Michael Kasten over 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Start date:
2017-08-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
Remote Sprint

Description

If i create a form with an input type file, the input is missing the id attribute.

The label have the right for attribute, but the file input type just have the name attribute but no id attribute so the label will not have the correct reference:


<div class="form-group">
  <label class="control-label" for="punkteformular-fileupload-1">File upload</label>
  <div class="input">
    <input accept="application/pdf" name="tx_form_formframework[punkteformular][fileupload-1]" type="file">
  </div>
</div>

#1

Updated by Wouter Wolters over 4 years ago

  • Assignee deleted (Bjoern Jacob)
#2

Updated by Bjoern Jacob about 4 years ago

  • Sprint Focus set to Remote Sprint
#3

Updated by Mathias Brodala about 4 years ago

  • Status changed from New to In Progress
#4

Updated by Gerrit Code Review about 4 years ago

  • Status changed from In Progress to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53959

#5

Updated by Gerrit Code Review about 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53959

#6

Updated by Carlos Meyer about 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#7

Updated by Gerrit Code Review about 4 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53964

#8

Updated by Carlos Meyer about 4 years ago

  • Status changed from Under Review to Resolved
#9

Updated by Benni Mack about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF