8e6f418225e8a613652877e67d8202872d12bce9
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Feature-24906-MaxForTextElement.rst
1 ================================================================
2 Feature: #24906 - Configuration for maximum chars in TextElement
3 ================================================================
4
5 Description
6 ===========
7
8 The Textelement supports now the option ``max`` to render the attribute maxlength for textelements,
9
10 The new option can be set like this:
11
12 .. code-block:: php
13
14 'teaser' => array(
15 'label' => 'Teaser',
16 'config' => array(
17 'type' => 'text',
18 'cols' => 60,
19 'rows' => 2,
20 'max' => '30',
21 )
22 ),