Actions
Bug #78034
closedTyposcript constant editor not supporting type=file[]
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2016-09-22
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Following docs.typo3.org and wiki.typo3.org I would expect all of the following definitions for Constant Editor to display some kind of file selector/wizard:
#cat=mysite/file/a; type=file; label=Test A config.test.a = #cat=mysite/file/b; type=file[txt,html,htm]; label=Test B config.test.b = #cat=mysite/file/c; type=file[IMAGE_EXT]; label=Test C config.test.c =
TYPO3 CMS 7.6 (latest via composer) instead renders a select list with one option:
Test A: <option value="">()</option>
Test B: <option value="">(txt,html,htm)</option>
Test C: <option value="">(gif,jpg,jpeg,png,...)</option>
If this feature was removed (see https://forge.typo3.org/issues/51780) we should update the docs and fully remove type=file (or use it as an alias for type=string).
Actions