Attention
TYPO3 v11 has reached end-of-life as of October 31th 2024 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v10 here: TYPO3 ELTS.
multiSelectFilterItems
multiSelectFilterItems
-
- Type
- array
- Path
- $GLOBALS['TCA'][$table]['columns'][$field]['config']
- Scope
- Display
- RenderType
- selectMultipleSideBySide
Contains predefined elements for the filter field. On selecting an item, the list of available items gets automatically filtered.
Each element in this array is in itself an array where:
- First value is the filter value of the item .
- Second value is the item label (string or LLL reference)
Examples
Select by predefined keywords
[
'columns' => [
'select_multiplesidebyside_5' => [
'exclude' => 1,
'label' => 'select_multiplesidebyside_5 multiSelectFilterItems',
'config' => [
'type' => 'select',
'renderType' => 'selectMultipleSideBySide',
'items' => [
[
'foo 1',
1,
],
[
'foo 2',
2,
],
[
'foo 3',
3,
],
[
'bar',
4,
],
],
'multiSelectFilterItems' => [
[
'',
'',
],
[
'foo',
'foo',
],
[
'bar',
'bar',
],
],
],
],
],
]
Copied!