Actions
Bug #84708
closedOption "nonSelectableLevels" doesn't work in select fields with renderType "selectTree"
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2018-04-12
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Setting the option nonSelectableLevels of treeConfig-Configuration in TCA overrides file has no effect. For example:
$GLOBALS['TCA']['pages']['columns']['categories']['config']['treeConfig']['appearance']['nonSelectableLevels'] = '0,1,2';
Categories are still selectable on level 0, 1 and 2.
Other options work as expected. For example:
$GLOBALS['TCA']['pages']['columns']['categories']['config']['treeConfig']['appearance']['expandAll'] = false;
I did check $node
in method buildRepresentationForNode
in file sysext/core/Classes/Tree/TableConfiguration/DatabaseTreeDataProvider.php. The value for property selectable
is set correctly. So I guess there is a bug in the rendering of the select tree or in the related JavaScript.
Files
Actions