Examples
Group relation to a single page
[
'columns' => [
'group_db_10' => [
'label' => 'group_db_10 allowed=pages size=1',
'config' => [
'type' => 'group',
'allowed' => 'pages',
'maxitems' => 1,
'minitems' => 0,
'size' => 1,
'suggestOptions' => [
'default' => [
'additionalSearchFields' => 'nav_title, url',
'addWhere' => 'AND pages.doktype = 1',
],
],
],
],
],
]
Copied!
Group relation to be_groups and be_users
[
'columns' => [
'group_db_1' => [
'label' => 'group_db_1 allowed=be_users,be_groups description',
'description' => 'field description',
'config' => [
'type' => 'group',
'allowed' => 'be_users,be_groups',
'fieldControl' => [
'editPopup' => [
'disabled' => false,
],
'addRecord' => [
'disabled' => false,
],
'listModule' => [
'disabled' => false,
],
],
],
],
],
]
Copied!