Skip to content
Snippets Groups Projects
Commit ee1f2198 authored by Ralf Zimmermann's avatar Ralf Zimmermann Committed by Wouter Wolters
Browse files

[TASK] EXT:form - Add HTML4 / HTML5 attributes for CHECKBOX to wizard

Add new attributes to the wizard element CHECKBOX.

Resolves: #70348
Releases: master
Change-Id: I5346e2b4a9a29084a7b222b7bfa4b2fad4761026
Reviewed-on: http://review.typo3.org/43787


Reviewed-by: default avatarBjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: default avatarBjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
parent ca726493
No related branches found
No related tags found
No related merge requests found
......@@ -50,16 +50,27 @@ class CheckboxJsonElement extends \TYPO3\CMS\Form\Domain\Model\Json\AbstractJson
*/
protected $allowedAttributes = array(
'accesskey',
'alt',
'class',
'contenteditable',
'contextmenu',
'dir',
'disabled',
'draggable',
'dropzone',
'hidden',
'id',
'lang',
'name',
'style: ',
'spellcheck',
'style',
'tabindex',
'title',
'translate',
/* element specific attributes */
'autofocus',
'checked',
'disabled',
'name',
'readonly',
'required',
'type',
'value'
);
......
......@@ -70,19 +70,30 @@ TYPO3.Form.Wizard.Elements.Basic.Checkbox = Ext.extend(TYPO3.Form.Wizard.Element
Ext.apply(this, {
configuration: {
attributes: {
accesskey: '',
alt: '',
"class": '',
dir: '',
disabled: '',
id: '',
lang: '',
name: '',
style: '',
tabindex: '',
title: '',
type: 'checkbox',
value: ''
'accesskey': '',
'class': '',
'contenteditable': '',
'contextmenu': '',
'dir': '',
'draggable': '',
'dropzone': '',
'hidden': '',
'id': '',
'lang': '',
'spellcheck': '',
'style': '',
'tabindex': '',
'title': '',
'translate': '',
'autofocus': '',
'checked': '',
'disabled': '',
'name': '',
'readonly': '',
'required': '',
'type': 'checkbox',
'value': ''
},
filters: {},
label: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment