Actions
Bug #99767
openAllowed file types are not displayed with type="input", renderType="inputLink" and new type="link" (in v12)
Status:
New
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2023-01-31
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
backend usability
Complexity:
Is Regression:
Sprint Focus:
Description
This used to be the case with type="inline". Here, the allowed file types were displayed in the form and in the link browser.
Reproduce¶
There is an example extension available to reproduce, was tested with v12 latest main:
https://github.com/sypets/sypets_example_inputlink
1. in Backend insert a plugin using the "Content element wizard" in tab plugins "InputLink plugin"
2. check out the fields in "plugin" tab and compare the behaviour of various types
3. Look at flexform file
Screenshot¶
in type="file" the allowed file extensions are displayed (as previously in "inline") in type="link" and renderType="linkType" not.
Versions¶
- used latest v11 (11.5.22)
- this can also be reproduced with v12, with type="link"
Example¶
<settings.link>
<TCEforms>
<label>Link</label>
<config>
<type>input</type>
<renderType>inputLink</renderType>
<fieldControl>
<linkPopup>
<options>
<allowedExtensions>bib</allowedExtensions>
<blindLinkFields>class,param,target,title</blindLinkFields>
<blindLinkOptions>page,mail,telephone,folder,tx_calendarize_domain_model_event,news</blindLinkOptions>
<title>Select specific file (*.bib)</title>
</options>
</linkPopup>
</fieldControl>
</config>
</TCEforms>
</settings.link>
Documentation
- v11: inputLink: https://docs.typo3.org/m/typo3/reference-tca/11.5/en-us/ColumnsConfig/Type/Input/Link/Index.html#columns-input-rendertype-inputlink
- v12: inputLink was deprecated, type="link" should be used: https://docs.typo3.org/m/typo3/reference-tca/main/en-us/ColumnsConfig/Type/Link/Index.html#columns-link
Files
Actions