[TASK] EXT:form - fix documentation paths
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Documentation / Config / proto / formElements / formElementTypes / Telephone / formEditor.rst
1 formEditor
2 ----------
3
4 :aspect:`Option path`
5       TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Telephone.formEditor
6
7 :aspect:`Data type`
8       array
9
10 :aspect:`Needed by`
11       Backend (form editor)
12
13 :aspect:`Mandatory`
14       Recommended
15
16 :aspect:`Default value (for prototype 'standard')`
17       .. code-block:: yaml
18          :linenos:
19          :emphasize-lines: 2-
20
21           Telephone:
22             formEditor:
23               editors:
24                 100:
25                   identifier: header
26                   templateName: Inspector-FormElementHeaderEditor
27                 200:
28                   identifier: label
29                   templateName: Inspector-TextEditor
30                   label: formEditor.elements.FormElement.editor.label.label
31                   propertyPath: label
32                 400:
33                   identifier: placeholder
34                   templateName: Inspector-TextEditor
35                   label: formEditor.elements.TextMixin.editor.placeholder.label
36                   propertyPath: properties.fluidAdditionalAttributes.placeholder
37                   doNotSetIfPropertyValueIsEmpty: true
38                 500:
39                   identifier: defaultValue
40                   templateName: Inspector-TextEditor
41                   label: formEditor.elements.TextMixin.editor.defaultValue.label
42                   propertyPath: defaultValue
43                 700:
44                   identifier: gridColumnViewPortConfiguration
45                   templateName: Inspector-GridColumnViewPortConfigurationEditor
46                   label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.label
47                   configurationOptions:
48                     viewPorts:
49                       10:
50                         viewPortIdentifier: xs
51                         label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.xs.label
52                       20:
53                         viewPortIdentifier: sm
54                         label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.sm.label
55                       30:
56                         viewPortIdentifier: md
57                         label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.md.label
58                       40:
59                         viewPortIdentifier: lg
60                         label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.lg.label
61                     numbersOfColumnsToUse:
62                       label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.label
63                       propertyPath: 'properties.gridColumnClassAutoConfiguration.viewPorts.{@viewPortIdentifier}.numbersOfColumnsToUse'
64                       fieldExplanationText: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.fieldExplanationText
65                 800:
66                   identifier: requiredValidator
67                   templateName: Inspector-RequiredValidatorEditor
68                   label: formEditor.elements.FormElement.editor.requiredValidator.label
69                   validatorIdentifier: NotEmpty
70                   propertyPath: properties.fluidAdditionalAttributes.required
71                   propertyValue: required
72                 900:
73                   identifier: validators
74                   templateName: Inspector-ValidatorsEditor
75                   label: formEditor.elements.TextMixin.editor.validators.label
76                   selectOptions:
77                     10:
78                       value: ''
79                       label: formEditor.elements.TextMixin.editor.validators.EmptyValue.label
80                     90:
81                       value: RegularExpression
82                       label: formEditor.elements.TextMixin.editor.validators.RegularExpression.label
83                 9999:
84                   identifier: removeButton
85                   templateName: Inspector-RemoveElementEditor
86               predefinedDefaults:
87                 defaultValue: ''
88               propertyCollections:
89                 validators:
90                   80:
91                     identifier: RegularExpression
92                     editors:
93                       100:
94                         identifier: header
95                         templateName: Inspector-CollectionElementHeaderEditor
96                         label: formEditor.elements.TextMixin.validators.RegularExpression.editor.header.label
97                       200:
98                         identifier: regex
99                         templateName: Inspector-TextEditor
100                         label: formEditor.elements.TextMixin.validators.RegularExpression.editor.regex.label
101                         fieldExplanationText: formEditor.elements.TextMixin.validators.RegularExpression.editor.regex.fieldExplanationText
102                         propertyPath: options.regularExpression
103                         propertyValidators:
104                           10: NotEmpty
105               label: formEditor.elements.Telephone.label
106               group: html5
107               groupSorting: 200
108               iconIdentifier: t3-form-icon-telephone