fieldWizard

The field of type group can enable all common field control options. Furthermore the following are availible:

elementBrowser
Type:array
Scope:fieldControl
Types:group

The element browser field control used in type='group' renders a button to open element browser depending on selected internal_type. It is enabled by default if rendering a group element.

insertClipboard
Type:array
Scope:fieldControl
Types:group

The clipboard control adds a control button for type='group' to paste records from a users clipboard into the selection. It is enabled by default for type='group' and shown below the element browser if the order has not been changed using the before and after keywords. It can be turned off by setting disabled to true, just like any other fieldControl.

Examples

Group field with element browser enabled

      'group_db_1' => [ 
         'exclude' => 1,
         'label' => 'group_db_1 allowed=be_users,be_groups description',
         'description' => 'field description',
         'config' => [ 
            'type' => 'group',
            'internal_type' => 'db',
            'allowed' => 'be_users,be_groups',
            'fieldControl' => [ 
               'editPopup' => [ 
                  'disabled' => false,
               ],
               'addRecord' => [ 
                  'disabled' => false,
               ],
               'listModule' => [ 
                  'disabled' => false,
               ],
            ],
         ],
      ],
      // Example from extension "styleguide", table "tx_styleguide_elements_group"

Group field with element browser disabled

The element browser control can be disabled by setting disabled = true:

Screenshot of field tx_styleguide_elements_group:group_db_3

Screenshot of field tx_styleguide_elements_group:group_db_3

      'group_db_3' => [ 
         'exclude' => 1,
         'label' => 'group_db_3 allowed=tx_styleguide_staticdata, disabled elementBrowser',
         'config' => [ 
            'type' => 'group',
            'internal_type' => 'db',
            'allowed' => 'tx_styleguide_staticdata',
            'fieldControl' => [ 
               'elementBrowser' => [ 
                  'disabled' => true,
               ],
            ],
         ],
      ],
      // Example from extension "styleguide", table "tx_styleguide_elements_group"