Project

General

Profile

Task #94538

Updated by Sybille Peters over 3 years ago

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 
 * The renderType selectSingleBox 
 * selectCheckBox 
 * selectMultipleSideBySide 
 * selectTree 



 h2. 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). 


 h2. Proposal 2 

 Perhaps the documentation element can be updated, used to select multiple values. To make usage more intuitive, the naming scheme more clear.  

 See list: https://docs.typo3.org/m/typo3/reference-tca/master/en-us/ColumnsConfig/Type/Select/Index.html#columns-select name should be changed. 

 see selectSingleBox: documentation: 

 > 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! 

 https://docs.typo3.org/m/typo3/reference-tca/master/en-us/ColumnsConfig/Type/selectSingleBox.html#columns-select-rendertype-selectsinglebox https://docs.typo3.org/m/typo3/reference-tca/10.4/en-us/ColumnsConfig/Type/selectSingleBox.html#columns-select-rendertype-selectsinglebox

Back