#107172Own selectMultipleSideBySide in site configuration
Description
Hi,
there currently seems to be a problem when I want to add a selectMultipleSideBySide select to the site configuration.
Rendering the available options works.
When saving after selecting one or more options, these are also successfully written to config.yaml:
test:
- bar
- bar2
After saving, however, this selection is not displayed in the left column of the „Selected Items“.
*Example:*
Configuration/SiteConfiguration/Overrides/site.php
$GLOBALS['SiteConfiguration']['site']['columns']['test'] = [
'label' => 'test',
'config' => [
'type' => 'select',
'renderType' => 'selectMultipleSideBySide',
'items' => [
['label' => 'foo', 'value' => 'bar'],
['label' => 'foo2', 'value' => 'bar2'],
],
],
];
The selection is displayed correctly if I have the selection (as before?!) not as an array in the YAML, but as a string.
Like:
test: 'bar,bar2'
But then I get the following error when saving. String <-> Array – Problem – Makes sense
TYPO3\CMS\Core\Configuration\Loader\YamlPlaceholderGuard::protectPlaceholders(): Argument #1 ($current) must be of type array, string given, called in /var/www/html/vendor/typo3/cms-core/Classes/Configuration/Loader/YamlPlaceholderGuard.php on line 66
Thanks!
Reviews 2
History 27
-
Gerrit Code Review pushed patch set 1 for main to change 90292 status
NewUnder Review 08/08/25, 08:23 -
Gerrit Code Review pushed patch set 2 for main to change 90292 08/08/25, 09:10
-
Gerrit Code Review pushed patch set 3 for main to change 90292 08/08/25, 10:57
-
Gerrit Code Review pushed patch set 4 for main to change 90292 08/13/25, 16:49
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 90382 08/13/25, 21:52
-
Georg Ringer commented and changed status
Under ReviewResolved done0 %100 % 08/13/25, 21:55 -
Benni Mack changed status
ResolvedClosed 12/02/25, 13:58
Applied in changeset commit:46ae808676718950478b783035dd0696e591ceef.