[TASK] FormEngine: Replace placeholder resolving with a data provider
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Form / Element / InputTextElement.php
index 75f20db..efcc62f 100644 (file)
@@ -180,9 +180,8 @@ class InputTextElement extends AbstractFormElement {
                }
 
                // This is the EDITABLE form field.
-               $placeholderValue = $this->getPlaceholderValue($table, $config, $row);
-               if (!empty($placeholderValue)) {
-                       $attributes['placeholder'] = trim($languageService->sL($placeholderValue));
+               if (!empty($config['placeholder'])) {
+                       $attributes['placeholder'] = trim($config['placeholder']);
                }
 
                // Build the attribute string