hideSuggest

hideSuggest
Path

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

Type

boolean

Scope

Display

The "suggest wizard" is added by default to all database relation group fields. After a couple of characters have been typed into this field, an ajax based search starts and shows a list of records matching the search word.

A set of options is available to configure search details.

Setting this property to true disables the suggest wizard.

Examples

Suggest wizard is hidden

../../../../_images/GroupDb11.png
EXT:styleguide/Configuration/TCA/tx_styleguide_elements_group.php
'columns' => [
    'group_db_11' => [
        'exclude' => 1,
        'label' => 'group_db_11 hideSuggest=true allowed=tx_styleguide_staticdata, multiple, autoSizeMax=10',
        'config' => [
            'type' => 'group',
            'hideSuggest' => true,
            'allowed' => 'tx_styleguide_staticdata',
            'multiple' => true,
            'autoSizeMax' => 10,
        ],
    ],
]

Suggest wizard is shown

../../../../_images/GroupDb8.png
EXT:styleguide/Configuration/TCA/tx_styleguide_elements_group.php
'columns' => [
    'group_db_8' => [
        'exclude' => 1,
        'label' => 'group_db_8 allowed=tx_styleguide_staticdata, multiple',
        'config' => [
            'type' => 'group',
            'hideSuggest' => false,
            'allowed' => 'tx_styleguide_staticdata',
            'multiple' => true,
        ],
    ],
]