textfield_stepAny_patch.txt

Thomas Kirst, 2012-07-24 13:05

Download (986 Bytes)

 
1
diff --git Classes/ViewHelpers/Form/TextfieldViewHelper.php Classes/ViewHelpers/Form/TextfieldViewHelper.php
2
old mode 100644
3
new mode 100755
4
index 9937a34..6ef8d65
5
--- Classes/ViewHelpers/Form/TextfieldViewHelper.php
6
+++ Classes/ViewHelpers/Form/TextfieldViewHelper.php
7
@@ -45,6 +45,7 @@ class TextfieldViewHelper extends \TYPO3\Fluid\ViewHelpers\Form\AbstractFormFiel
8
 		$this->registerTagAttribute('maxlength', 'int', 'The maxlength attribute of the input field (will not be validated)');
9
 		$this->registerTagAttribute('readonly', 'string', 'The readonly attribute of the input field');
10
 		$this->registerTagAttribute('size', 'int', 'The size of the input field');
11
+		$this->registerTagAttribute('step', 'string', 'The step attribute specifies the legal number intervals for an <input> element.');
12
 		$this->registerArgument('errorClass', 'string', 'CSS class to set if there are errors for this view helper', FALSE, 'f3-form-error');
13
 		$this->registerUniversalTagAttributes();
14
 	}