Skip to content
Snippets Groups Projects
Commit 6cd52def authored by Stephan Großberndt's avatar Stephan Großberndt Committed by Christian Kuhn
Browse files

[TASK] Improve argument description in PasswordViewHelper

Resolves: #104438
Releases: main, 12.4
Change-Id: I4ef127561e45d72c03beb9db08a2a081aa59ddca
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85306


Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
parent 86a364f9
Branches
Tags
No related merge requests found
......@@ -29,7 +29,7 @@ namespace TYPO3\CMS\Fluid\ViewHelpers\Form;
*
* Output::
*
* <input type="password" name="myPassword" value="default value" />
* <input type="password" name="myPassword" value="" />
*/
final class PasswordViewHelper extends AbstractFormFieldViewHelper
{
......@@ -44,17 +44,17 @@ final class PasswordViewHelper extends AbstractFormFieldViewHelper
$this->registerTagAttribute(
'disabled',
'string',
'Specifies that the input element should be disabled when the page loads'
'Specifies that the password field should be disabled when the page loads'
);
$this->registerTagAttribute(
'maxlength',
'int',
'The maxlength attribute of the input field (will not be validated)'
'The maxlength attribute of the password field (will not be validated)'
);
$this->registerTagAttribute('placeholder', 'string', 'The placeholder of the textfield');
$this->registerTagAttribute('readonly', 'string', 'The readonly attribute of the input field');
$this->registerTagAttribute('placeholder', 'string', 'The placeholder of the password field');
$this->registerTagAttribute('readonly', 'string', 'The readonly attribute of the password field');
$this->registerTagAttribute('autocomplete', 'string', 'Specify the autocomplete behaviour for password managers');
$this->registerTagAttribute('size', 'int', 'The size of the input field');
$this->registerTagAttribute('size', 'int', 'The size of the password field');
$this->registerArgument(
'errorClass',
'string',
......
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