diff --git a/Classes/ViewHelpers/Field/InputViewHelper.php b/Classes/ViewHelpers/Field/InputViewHelper.php index 66607059f..a25d48274 100755 --- a/Classes/ViewHelpers/Field/InputViewHelper.php +++ b/Classes/ViewHelpers/Field/InputViewHelper.php @@ -47,7 +47,7 @@ public static function getComponent(RenderingContextInterface $renderingContext, $input->setMaxCharacters($arguments['maxCharacters']); $input->setMinimum($arguments['minimum']); $input->setMaximum($arguments['maximum']); - $input->setPlaceholder($arguments['placeholder']); + $input->setPlaceholder(is_scalar($arguments['placeholder']) ? (string) $arguments['placeholder'] : null); $input->setSize($arguments['size']); return $input; }