[TASK] EXT:form - Add HTML4 / HTML5 attributes for PASSWORD to wizard
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Classes / Domain / Model / Json / PasswordJsonElement.php
index 103d20d..93d977e 100644 (file)
@@ -50,20 +50,32 @@ class PasswordJsonElement extends \TYPO3\CMS\Form\Domain\Model\Json\AbstractJson
         */
        protected $allowedAttributes = array(
                'accesskey',
-               'alt',
                'class',
+               'contenteditable',
+               'contextmenu',
                'dir',
-               'disabled',
+               'draggable',
+               'dropzone',
+               'hidden',
                'id',
                'lang',
+               'spellcheck',
+               'style',
+               'tabindex',
+               'title',
+               'translate',
+               /* element specific attributes */
+               'autocomplete',
+               'autofocus',
+               'disabled',
                'maxlength',
+               'minlength',
                'name',
+               'pattern',
                'placeholder',
                'readonly',
+               'required',
                'size',
-               'style',
-               'tabindex',
-               'title',
                'type',
                'value'
        );