Actions
Task #94538
closedClarify naming of select renderType selectSingleBox?
Status:
Closed
Priority:
Should have
Assignee:
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2021-07-12
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Updated, due to comments in review.
To make it easy to choose from existing renderTypes and understand TCA, it is helpful if the naming is intuitive.
For select, we currently have:
- selectSingle
- selectSingleBox
- selectCheckBox
- selectMultipleSideBySide
- selectTree
Proposal 1¶
Original proposal: rename renderType='selectSingleBox' to 'selectMultipleBox'. See comments in review: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69811
It seems the "single" does not refer to the number of items selected, but to the number of elements (boxes).
Proposal 2¶
Perhaps the documentation can be updated, to make the naming scheme more clear.
see selectSingleBox:
Renders a select field to select multiple entries from a given list.
The name is misleading. This is a renderType which allows you to select multiple elements!
Actions