We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b078759 commit 26d11e8Copy full SHA for 26d11e8
Classes/ViewHelpers/Form/OptionViewHelper.php
@@ -39,7 +39,7 @@ public static function renderStatic(
39
/** @var string $option */
40
$option = $arguments['name'] ?? static::$option;
41
$container = static::getContainerFromRenderingContext($renderingContext);
42
- $value = $renderChildrenClosure();
+ $value = $arguments['value'] ?? $renderChildrenClosure();
43
if ($container instanceof OptionCarryingInterface) {
44
$container->setOption($option, $value);
45
return '';
0 commit comments