autoSizeMax

autoSizeMax
Path

$GLOBALS['TCA'][$table]['columns'][$field]['config']

Type

integer

Scope

Display

Types

select, group, inline

The maximum size (height) of the select field.

The size of the select field will be automatically adjusted based on the number of selected items. The select field will never be smaller than the specified size and never larger than the value of autoSizeMax.

Note

Only has an effect if maxitems is greater than 1.

Note

For fields of type select this option is only available with renderType selectSingleBox or selectMultipleSideBySide. When using selectSingleBox the number of selectable items is taken into account rather than the number of selected items.

Note

For fields of type inline this option is only useful in combination with the foreign_selector. The field that foreign_selector is pointing to has to be of type select.