ViewHelper Documentation
flux:field.text
Textarea FlexForm field ViewHelper
Arguments
- name
- label
- default
- required
- exclude
- transform
- enabled
- requestUpdate
- displayCond
- inherit
- inheritEmpty
- clear
- variables
- extensionName
- validate
- cols
- rows
- defaultExtras
- enableRichText
- renderType
- format
- richtextConfiguration
- placeholder
name string
Name of the attribute, FlexForm XML-valid tag name string
label string
Label for the attribute, can be LLL: value. Optional - if not specified, Flux tries to detect an LLL label named "flux.fluxFormId.fields.foobar" based on field name, in scope of extension rendering the Flux form. If field is in an object, use "flux.fluxFormId.objects.objectname.foobar" where "foobar" is the name of the field.
default string
Default value for this attribute
required boolean
If TRUE, this attribute must be filled when editing the FCE
exclude boolean
If TRUE, this field becomes an "exclude field" (see TYPO3 documentation about this)
transform string
Set this to transform your value to this type - integer, array (for csv values), float, DateTime, Vendor\MyExt\Domain\Model\Object or ObjectStorage with type hint.
enabled boolean
If FALSE, disables the field in the FlexForm
requestUpdate boolean
If TRUE, the form is force-saved and reloaded when field value changes
displayCond string
Optional "Display Condition" (TCA style) for this particular field. See: https://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Index.html#displaycond
inherit boolean
If TRUE, the value for this particular field is inherited - if inheritance is enabled by the ConfigurationProvider
inheritEmpty boolean
If TRUE, allows empty values (specifically excluding the number zero!) to be inherited - if inheritance is enabled by the ConfigurationProvider
clear boolean
If TRUE, a "clear value" checkbox is displayed next to the field which when checked, completely destroys the current field value all the way down to the stored XML value
variables anySimpleType
Freestyle variables which become assigned to the resulting Component - can then be read from that Component outside this Fluid template and in other templates using the Form object from this template
extensionName string
If provided, enables overriding the extension context for this and all child nodes. The extension name is otherwise automatically detected from rendering context.
validate string
FlexForm-type validation configuration for this input
cols anySimpleType
Number of columns in editor
rows anySimpleType
Number of rows in editor
defaultExtras string
DEPRECATED, IGNORED - has no function on TYPO3 8.7+. FlexForm-syntax "defaultExtras" definition, example: "richtext[*]:rte_transform[mode=ts_css]"
enableRichText boolean
Enable the richtext editor (RTE)
renderType string
Render type allows you to modify the behaviour of text field. At the moment only t3editor and none (works as disabled) are supported but you can create your own. More information: https://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Text/Index.html#rendertype
format string
Format is used with renderType and, at the moment, is just useful if renderType is equals to t3editor. At the moment possible values are: html, typoscript, javascript, css, xml, html, php, sparql, mixed. More information: https://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Text/Index.html#format
richtextConfiguration string
Specifies which configuration to use in combination with EXT:rte_ckeditor.If none is given, PageTSconfig "RTE.tx_flux.preset" and "RTE.default.preset" are used.More information: https://docs.typo3.org/typo3cms/TCAReference/ColumnsConfig/Properties/TextRichtextConfiugration.html
placeholder string
Placeholder text which vanishes if field is filled and/or field is focused