PageRenderTime 84ms CodeModel.GetById 33ms RepoModel.GetById 0ms app.codeStats 1ms

/typo3/sysext/form/Documentation/I/Config/proto/formElements/formElementTypes/Text/formEditor.rst

https://github.com/TYPO3/TYPO3.CMS
ReStructuredText | 244 lines | 238 code | 6 blank | 0 comment | 0 complexity | ead5198168109997f33c51cfcb04a922 MD5 | raw file
  1. .. include:: /Includes.rst.txt
  2. formEditor
  3. ----------
  4. :aspect:`Option path`
  5. TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Text.formEditor
  6. :aspect:`Data type`
  7. array
  8. :aspect:`Needed by`
  9. Backend (form editor)
  10. :aspect:`Mandatory`
  11. Recommended
  12. :aspect:`Default value (for prototype 'standard')`
  13. .. code-block:: yaml
  14. :linenos:
  15. :emphasize-lines: 2-
  16. Text:
  17. formEditor:
  18. editors:
  19. 100:
  20. identifier: header
  21. templateName: Inspector-FormElementHeaderEditor
  22. 200:
  23. identifier: label
  24. templateName: Inspector-TextEditor
  25. label: formEditor.elements.FormElement.editor.label.label
  26. propertyPath: label
  27. 230:
  28. identifier: elementDescription
  29. templateName: Inspector-TextEditor
  30. label: formEditor.elements.FormElement.editor.elementDescription.label
  31. propertyPath: properties.elementDescription
  32. 400:
  33. identifier: placeholder
  34. templateName: Inspector-TextEditor
  35. label: formEditor.elements.TextMixin.editor.placeholder.label
  36. propertyPath: properties.fluidAdditionalAttributes.placeholder
  37. compatibilityPropertyPath: properties.placeholder
  38. doNotSetIfPropertyValueIsEmpty: true
  39. 500:
  40. identifier: defaultValue
  41. templateName: Inspector-TextEditor
  42. label: formEditor.elements.TextMixin.editor.defaultValue.label
  43. propertyPath: defaultValue
  44. 700:
  45. identifier: gridColumnViewPortConfiguration
  46. templateName: Inspector-GridColumnViewPortConfigurationEditor
  47. label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.label
  48. configurationOptions:
  49. viewPorts:
  50. 10:
  51. viewPortIdentifier: xs
  52. label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.xs.label
  53. 20:
  54. viewPortIdentifier: sm
  55. label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.sm.label
  56. 30:
  57. viewPortIdentifier: md
  58. label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.md.label
  59. 40:
  60. viewPortIdentifier: lg
  61. label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.lg.label
  62. numbersOfColumnsToUse:
  63. label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.label
  64. propertyPath: 'properties.gridColumnClassAutoConfiguration.viewPorts.{@viewPortIdentifier}.numbersOfColumnsToUse'
  65. fieldExplanationText: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.fieldExplanationText
  66. 800:
  67. identifier: requiredValidator
  68. templateName: Inspector-RequiredValidatorEditor
  69. label: formEditor.elements.FormElement.editor.requiredValidator.label
  70. validatorIdentifier: NotEmpty
  71. propertyPath: properties.fluidAdditionalAttributes.required
  72. propertyValue: required
  73. 900:
  74. identifier: validators
  75. templateName: Inspector-ValidatorsEditor
  76. label: formEditor.elements.TextMixin.editor.validators.label
  77. selectOptions:
  78. 10:
  79. value: ''
  80. label: formEditor.elements.TextMixin.editor.validators.EmptyValue.label
  81. 20:
  82. value: Alphanumeric
  83. label: formEditor.elements.TextMixin.editor.validators.Alphanumeric.label
  84. 40:
  85. value: StringLength
  86. label: formEditor.elements.TextMixin.editor.validators.StringLength.label
  87. 50:
  88. value: EmailAddress
  89. label: formEditor.elements.TextMixin.editor.validators.EmailAddress.label
  90. 60:
  91. value: Integer
  92. label: formEditor.elements.TextMixin.editor.validators.Integer.label
  93. 70:
  94. value: Float
  95. label: formEditor.elements.TextMixin.editor.validators.Float.label
  96. 80:
  97. value: NumberRange
  98. label: formEditor.elements.TextMixin.editor.validators.NumberRange.label
  99. # @deprecated since v12, will be removed in v13
  100. 90:
  101. value: RegularExpression
  102. label: formEditor.elements.TextMixin.editor.validators.RegularExpression.label
  103. 9999:
  104. identifier: removeButton
  105. templateName: Inspector-RemoveElementEditor
  106. predefinedDefaults:
  107. defaultValue: ''
  108. propertyCollections:
  109. validators:
  110. 10:
  111. identifier: Alphanumeric
  112. editors:
  113. 100:
  114. identifier: header
  115. templateName: Inspector-CollectionElementHeaderEditor
  116. label: formEditor.elements.TextMixin.validators.Alphanumeric.editor.header.label
  117. 9999:
  118. identifier: removeButton
  119. templateName: Inspector-RemoveElementEditor
  120. 20:
  121. identifier: Text
  122. editors:
  123. 100:
  124. identifier: header
  125. templateName: Inspector-CollectionElementHeaderEditor
  126. label: formEditor.elements.TextMixin.validators.Text.editor.header.label
  127. 9999:
  128. identifier: removeButton
  129. templateName: Inspector-RemoveElementEditor
  130. 30:
  131. identifier: StringLength
  132. editors:
  133. 100:
  134. identifier: header
  135. templateName: Inspector-CollectionElementHeaderEditor
  136. label: formEditor.elements.TextMixin.validators.StringLength.editor.header.label
  137. 200:
  138. identifier: minimum
  139. templateName: Inspector-TextEditor
  140. label: formEditor.elements.MinimumMaximumEditorsMixin.editor.minimum.label
  141. propertyPath: options.minimum
  142. propertyValidators:
  143. 10: Integer
  144. additionalElementPropertyPaths:
  145. 10: properties.fluidAdditionalAttributes.minlength
  146. 300:
  147. identifier: maximum
  148. templateName: Inspector-TextEditor
  149. label: formEditor.elements.MinimumMaximumEditorsMixin.editor.maximum.label
  150. propertyPath: options.maximum
  151. propertyValidators:
  152. 10: Integer
  153. additionalElementPropertyPaths:
  154. 10: properties.fluidAdditionalAttributes.maxlength
  155. 9999:
  156. identifier: removeButton
  157. templateName: Inspector-RemoveElementEditor
  158. 40:
  159. identifier: EmailAddress
  160. editors:
  161. 100:
  162. identifier: header
  163. templateName: Inspector-CollectionElementHeaderEditor
  164. label: formEditor.elements.TextMixin.validators.EmailAddress.editor.header.label
  165. 9999:
  166. identifier: removeButton
  167. templateName: Inspector-RemoveElementEditor
  168. 50:
  169. identifier: Integer
  170. editors:
  171. 100:
  172. identifier: header
  173. templateName: Inspector-CollectionElementHeaderEditor
  174. label: formEditor.elements.TextMixin.validators.Integer.editor.header.label
  175. 9999:
  176. identifier: removeButton
  177. templateName: Inspector-RemoveElementEditor
  178. 60:
  179. identifier: Float
  180. editors:
  181. 100:
  182. identifier: header
  183. templateName: Inspector-CollectionElementHeaderEditor
  184. label: formEditor.elements.TextMixin.validators.Float.editor.header.label
  185. 9999:
  186. identifier: removeButton
  187. templateName: Inspector-RemoveElementEditor
  188. 70:
  189. identifier: NumberRange
  190. editors:
  191. 100:
  192. identifier: header
  193. templateName: Inspector-CollectionElementHeaderEditor
  194. label: formEditor.elements.TextMixin.validators.NumberRange.editor.header.label
  195. 200:
  196. identifier: minimum
  197. templateName: Inspector-TextEditor
  198. label: formEditor.elements.MinimumMaximumEditorsMixin.editor.minimum.label
  199. propertyPath: options.minimum
  200. propertyValidators:
  201. 10: Integer
  202. additionalElementPropertyPaths:
  203. 10: properties.fluidAdditionalAttributes.min
  204. 300:
  205. identifier: maximum
  206. templateName: Inspector-TextEditor
  207. label: formEditor.elements.MinimumMaximumEditorsMixin.editor.maximum.label
  208. propertyPath: options.maximum
  209. propertyValidators:
  210. 10: Integer
  211. additionalElementPropertyPaths:
  212. 10: properties.fluidAdditionalAttributes.max
  213. 9999:
  214. identifier: removeButton
  215. templateName: Inspector-RemoveElementEditor
  216. 80:
  217. identifier: RegularExpression
  218. editors:
  219. 100:
  220. identifier: header
  221. templateName: Inspector-CollectionElementHeaderEditor
  222. label: formEditor.elements.TextMixin.validators.RegularExpression.editor.header.label
  223. 200:
  224. identifier: regex
  225. templateName: Inspector-TextEditor
  226. label: formEditor.elements.TextMixin.validators.RegularExpression.editor.regex.label
  227. fieldExplanationText: formEditor.elements.TextMixin.validators.RegularExpression.editor.regex.fieldExplanationText
  228. propertyPath: options.regularExpression
  229. propertyValidators:
  230. 10: NotEmpty
  231. 20: RegularExpressionPattern
  232. 9999:
  233. identifier: removeButton
  234. templateName: Inspector-RemoveElementEditor
  235. label: formEditor.elements.Text.label
  236. group: input
  237. groupSorting: 100
  238. iconIdentifier: form-text