[SingleSelect]¶
Properties¶
implementationClassName¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.implementationClassName
- Data type
string
- Needed by
Frontend/ Backend (form editor)
- Overwritable within form definition
No
- form editor can write this property into the form definition (for prototype 'standard')
No
- Mandatory
Yes
- Default value (for prototype 'standard')
1SingleSelect: 2 implementationClassName: TYPO3\CMS\Form\Domain\Model\FormElements\GenericFormElement
- Description
Classname which implements the form element.
properties.containerClassAttribute¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.properties.containerClassAttribute
- Data type
string
- Needed by
Frontend/ Backend (form editor)
- Overwritable within form definition
Yes
- form editor can write this property into the form definition (for prototype 'standard')
No
- Mandatory
No
- Default value (for prototype 'standard')
1SingleSelect: 2 properties: 3 containerClassAttribute: input 4 elementClassAttribute: '' 5 elementErrorClassAttribute: error
- Description
A CSS class which is typically wrapped around the form elements.
properties.elementClassAttribute¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.properties.elementClassAttribute
- Data type
string
- Needed by
Frontend/ Backend (form editor)
- Overwritable within form definition
Yes
- form editor can write this property into the form definition (for prototype 'standard')
No
- Mandatory
No
- Default value (for prototype 'standard')
1SingleSelect: 2 properties: 3 containerClassAttribute: input 4 elementClassAttribute: '' 5 elementErrorClassAttribute: error
- Description
A CSS class written to the form element.
properties.elementDescription¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.properties.elementDescription
- Data type
string
- Needed by
Frontend/ Backend (form editor)
- Overwritable within form definition
Yes
- Form editor can write this property into the form definition (for prototype 'standard')
Yes
- Mandatory
No
- Default value (for prototype 'standard')
Undefined
- Good to know
- Description
Set a description of the form element. By default, it is displayed below the form element.
properties.elementErrorClassAttribute¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.properties.elementErrorClassAttribute
- Data type
string
- Needed by
Frontend/ Backend (form editor)
- Overwritable within form definition
Yes
- form editor can write this property into the form definition (for prototype 'standard')
No
- Mandatory
No
- Default value (for prototype 'standard')
1SingleSelect: 2 properties: 3 containerClassAttribute: input 4 elementClassAttribute: '' 5 elementErrorClassAttribute: error
- Description
A CSS class which is written to the form element if validation errors exists.
properties.prependOptionLabel¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.properties.prependOptionLabel
- Data type
string
- Needed by
Frontend/ Backend (form editor)
- Overwritable within form definition
Yes
- form editor can write this property into the form definition (for prototype 'standard')
Yes
- Mandatory
No
- Default value (for prototype 'standard')
undefined
- Description
If set, this label will be shown as first select-option.
properties.prependOptionValue¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.properties.prependOptionValue
- Data type
string
- Needed by
Frontend/ Backend (form editor)
- Overwritable within form definition
Yes
- form editor can write this property into the form definition (for prototype 'standard')
No
- Mandatory
No
- Default value (for prototype 'standard')
undefined
- Description
If set, this value will be set for the first select-option.
formEditor¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.formEditor
- Data type
array
- Needed by
Backend (form editor)
- Mandatory
Recommended
- Default value (for prototype 'standard')
1SingleSelect: 2 formEditor: 3 editors: 4 100: 5 identifier: header 6 templateName: Inspector-FormElementHeaderEditor 7 200: 8 identifier: label 9 templateName: Inspector-TextEditor 10 label: formEditor.elements.FormElement.editor.label.label 11 propertyPath: label 12 230: 13 identifier: elementDescription 14 templateName: Inspector-TextEditor 15 label: formEditor.elements.FormElement.editor.elementDescription.label 16 propertyPath: properties.elementDescription 17 250: 18 identifier: inactiveOption 19 templateName: Inspector-TextEditor 20 label: formEditor.elements.SelectionMixin.editor.inactiveOption.label 21 propertyPath: properties.prependOptionLabel 22 fieldExplanationText: formEditor.elements.SelectionMixin.editor.inactiveOption.fieldExplanationText 23 doNotSetIfPropertyValueIsEmpty: true 24 300: 25 identifier: options 26 templateName: Inspector-PropertyGridEditor 27 label: formEditor.elements.SelectionMixin.editor.options.label 28 propertyPath: properties.options 29 isSortable: true 30 enableAddRow: true 31 enableDeleteRow: true 32 removeLastAvailableRowFlashMessageTitle: formEditor.elements.SelectionMixin.editor.options.removeLastAvailableRowFlashMessageTitle 33 removeLastAvailableRowFlashMessageMessage: formEditor.elements.SelectionMixin.editor.options.removeLastAvailableRowFlashMessageMessage 34 shouldShowPreselectedValueColumn: single 35 multiSelection: false 36 700: 37 identifier: gridColumnViewPortConfiguration 38 templateName: Inspector-GridColumnViewPortConfigurationEditor 39 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.label 40 configurationOptions: 41 viewPorts: 42 10: 43 viewPortIdentifier: xs 44 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.xs.label 45 20: 46 viewPortIdentifier: sm 47 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.sm.label 48 30: 49 viewPortIdentifier: md 50 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.md.label 51 40: 52 viewPortIdentifier: lg 53 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.lg.label 54 numbersOfColumnsToUse: 55 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.label 56 propertyPath: 'properties.gridColumnClassAutoConfiguration.viewPorts.{@viewPortIdentifier}.numbersOfColumnsToUse' 57 fieldExplanationText: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.fieldExplanationText 58 800: 59 identifier: requiredValidator 60 templateName: Inspector-RequiredValidatorEditor 61 label: formEditor.elements.FormElement.editor.requiredValidator.label 62 validatorIdentifier: NotEmpty 63 propertyPath: properties.fluidAdditionalAttributes.required 64 propertyValue: required 65 9999: 66 identifier: removeButton 67 templateName: Inspector-RemoveElementEditor 68 predefinedDefaults: 69 properties: 70 options: { } 71 label: formEditor.elements.SingleSelect.label 72 group: select 73 groupSorting: 200 74 iconIdentifier: form-single-select
formEditor.editors.100¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.formEditor.editors.100
- Data type
array/ [FormElementHeaderEditor]
- Needed by
Backend (form editor)
- Mandatory
Recommended
- Default value (for prototype 'standard')
1SingleSelect: 2 formEditor: 3 editors: 4 100: 5 identifier: header 6 templateName: Inspector-FormElementHeaderEditor
formEditor.editors.200¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.formEditor.editors.200
- Data type
array/ [TextEditor]
- Needed by
Backend (form editor)
- Mandatory
Recommended
- Default value (for prototype 'standard')
1SingleSelect: 2 formEditor: 3 editors: 4 200: 5 identifier: label 6 templateName: Inspector-TextEditor 7 label: formEditor.elements.FormElement.editor.label.label 8 propertyPath: label
formEditor.editors.230¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.formEditor.editors.230
- Data type
array/ [TextEditor]
- Needed by
Frontend/ Backend (form editor)
- Mandatory
No
- Default value (for prototype 'standard')
1Date: 2 formEditor: 3 editors: 4 230: 5 identifier: elementDescription 6 templateName: Inspector-TextEditor 7 label: formEditor.elements.FormElement.editor.elementDescription.label 8 propertyPath: properties.elementDescription
formEditor.editors.250¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.formEditor.editors.250
- Data type
array/ [TextEditor]
- Needed by
Backend (form editor)
- Mandatory
Recommended
- Default value (for prototype 'standard')
1SingleSelect: 2 formEditor: 3 editors: 4 250: 5 identifier: inactiveOption 6 templateName: Inspector-TextEditor 7 label: formEditor.elements.SelectionMixin.editor.inactiveOption.label 8 propertyPath: properties.prependOptionLabel 9 fieldExplanationText: formEditor.elements.SelectionMixin.editor.inactiveOption.fieldExplanationText 10 doNotSetIfPropertyValueIsEmpty: true
formEditor.editors.300¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.formEditor.editors.300
- Data type
array/ [PropertyGridEditor]
- Needed by
Backend (form editor)
- Mandatory
Recommended
- Default value (for prototype 'standard')
1SingleSelect: 2 formEditor: 3 editors: 4 300: 5 identifier: options 6 templateName: Inspector-PropertyGridEditor 7 label: formEditor.elements.SelectionMixin.editor.options.label 8 propertyPath: properties.options 9 isSortable: true 10 enableAddRow: true 11 enableDeleteRow: true 12 removeLastAvailableRowFlashMessageTitle: formEditor.elements.SelectionMixin.editor.options.removeLastAvailableRowFlashMessageTitle 13 removeLastAvailableRowFlashMessageMessage: formEditor.elements.SelectionMixin.editor.options.removeLastAvailableRowFlashMessageMessage 14 shouldShowPreselectedValueColumn: single 15 multiSelection: false
formEditor.editors.700¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.formEditor.editors.700
- Data type
- Needed by
Backend (form editor)
- Mandatory
Recommended
- Default value (for prototype 'standard')
1SingleSelect: 2 formEditor: 3 editors: 4 700: 5 identifier: gridColumnViewPortConfiguration 6 templateName: Inspector-GridColumnViewPortConfigurationEditor 7 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.label 8 configurationOptions: 9 viewPorts: 10 10: 11 viewPortIdentifier: xs 12 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.xs.label 13 20: 14 viewPortIdentifier: sm 15 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.sm.label 16 30: 17 viewPortIdentifier: md 18 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.md.label 19 40: 20 viewPortIdentifier: lg 21 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.lg.label 22 numbersOfColumnsToUse: 23 label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.label 24 propertyPath: 'properties.gridColumnClassAutoConfiguration.viewPorts.{@viewPortIdentifier}.numbersOfColumnsToUse' 25 fieldExplanationText: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.fieldExplanationText
formEditor.editors.800¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.formEditor.editors.800
- Data type
array/ [RequiredValidatorEditor]
- Needed by
Backend (form editor)
- Mandatory
Recommended
- Default value (for prototype 'standard')
1SingleSelect: 2 formEditor: 3 editors: 4 800: 5 identifier: requiredValidator 6 templateName: Inspector-RequiredValidatorEditor 7 label: formEditor.elements.FormElement.editor.requiredValidator.label 8 validatorIdentifier: NotEmpty 9 propertyPath: properties.fluidAdditionalAttributes.required 10 propertyValue: required
formEditor.editors.9999¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.formEditor.editors.9999
- Data type
array/ [RemoveElementEditor]
- Needed by
Backend (form editor)
- Mandatory
Recommended
- Default value (for prototype 'standard')
1SingleSelect: 2 formEditor: 3 editors: 4 9999: 5 identifier: removeButton 6 templateName: Inspector-RemoveElementEditor
formEditor.predefinedDefaults¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.formEditor.predefinedDefaults
- Data type
array
- Needed by
Backend (form editor)
- Mandatory
Recommended
- Default value (for prototype 'standard')
1SingleSelect: 2 formEditor: 3 predefinedDefaults: 4 properties: 5 options: { }
- Description
Defines predefined defaults for form element properties which are prefilled, if the form element is added to a form.
formEditor.label¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.formEditor.label
- Data type
string
- Needed by
Backend (form editor)
- Mandatory
Yes
- Default value (for prototype 'standard')
1SingleSelect: 2 formEditor: 3 label: formEditor.elements.SingleSelect.label
- Good to know
- Description
This label will be shown within the "new element" Modal.
formEditor.group¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.formEditor.group
- Data type
string
- Needed by
Backend (form editor)
- Mandatory
Recommended
- Default value (for prototype 'standard')
1SingleSelect: 2 formEditor: 3 group: select
- Default value
Depends (see concrete element configuration)
- Description
Define within which group within the
form editor
"new Element" modal the form element should be shown. Thegroup
value must be equal to an array key withinformElementGroups
.
formEditor.groupSorting¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.formEditor.groupSorting
- Data type
int
- Needed by
Backend (form editor)
- Mandatory
Recommended
- Default value (for prototype 'standard')
1SingleSelect: 2 formEditor: 3 groupSorting: 200
- Description
The position within the
formEditor.group
for this form element.
formEditor.iconIdentifier¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.SingleSelect.formEditor.iconIdentifier
- Data type
string
- Needed by
Backend (form editor)
- Mandatory
Yes
- Default value (for prototype 'standard')
1SingleSelect: 2 formEditor: 3 iconIdentifier: form-single-select
- Description
An icon identifier which must be registered through the
\TYPO3\CMS\Core\Imaging\IconRegistry
. This icon will be shown withinTree
component."new element" Modal