Project

General

Profile

Task #69369 » Deprecation-69369-UsePropertyValueInsteadOfDataForTEXTAREATEXTBLOCKOPTION.rst

Björn Jacob, 2015-10-07 09:29

 
========================================================
Deprecation: #69369 - Use property value instead of data
========================================================
Description
===========
The FORM elements TEXTAREA and OPTION currently use "data" as property
name to define default "values" which are used as human readable
"labels" inside the specific tag. Furthermore the TEXTBLOCK element uses
the "content" property to define custom text. All other FORM elements
use "value". Since "data" implies the possibility to use computed
values, this patch deprecates "data" and adds a new property
called "text".
Impact
======
Using the property "data" will trigger a deprecation log entry.
Affected Installations
======================
Any TYPO3 installation using TEXTAREA, OPTION and TEXTBLOCK elements
which use the property "data".
Migration
=========
Remove usage of the "data" property and use "text" instead.
    (1-1/1)