- size (type => none)¶
The cols value is used to set the width of the field, and if
colsis not found, then this value is used.
Value for the width of the
<input>field. To set the input field to the full width of the form area, use the value 50. Default is 30.
Deprecated since version 12.0: The TCA type
none had two option keys for the same functionality:
size. In order to simplify the available configuration,
cols has been
dropped in favour of
Rename the option
'columns' => [ 'aColumn' => [ 'config' => [ 'type' => 'none', 'cols' => 20, ], ], ],
'columns' => [ 'aColumn' => [ 'config' => [ 'type' => 'none', 'size' => 20, ], ], ],