Skip to content
Snippets Groups Projects
Commit b979df40 authored by Xavier Perseguers's avatar Xavier Perseguers Committed by Wouter Wolters
Browse files

[BUGFIX] Duplicate code in InputTextElement

Change-Id: I6f8cdda2e8fca32a4c35d212a3e2f88ff90f5afc
Resolves: #69933
Releases: master
Reviewed-on: http://review.typo3.org/43413


Reviewed-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
Tested-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
parent a87e2b29
Branches
Tags
No related merge requests found
......@@ -178,9 +178,6 @@ class InputTextElement extends AbstractFormElement {
if (!empty($classes)) {
$attributes['class'] = implode(' ', $classes);
}
if (isset($config['max']) && (int)$config['max'] > 0) {
$attributes['maxlength'] = (int)$config['max'];
}
// This is the EDITABLE form field.
$placeholderValue = $this->getPlaceholderValue($table, $config, $row);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment