exclusiveKeys

exclusiveKeys
Type:string (list of)
Scope:Display / Proc.
RenderType:all

List of keys that exclude any other keys in a select box where multiple items could be selected.

Examples

Side-by-side select with two exclusive items

      'select_multiplesidebyside_2' => [ 
         'exclude' => 1,
         'label' => 'select_multiplesidebyside_2 exclusiveKeys=1,2',
         'config' => [ 
            'type' => 'select',
            'renderType' => 'selectMultipleSideBySide',
            'items' => [ 
               '0' => [ 
                  '0' => 'two exclusive items',
                  '1' => '--div--',
               ],
               '1' => [ 
                  '0' => 'foo 1',
                  '1' => 1,
               ],
               '2' => [ 
                  '0' => 'foo 2',
                  '1' => 2,
               ],
               '3' => [ 
                  '0' => 'casual multiple items',
                  '1' => '--div--',
               ],
               '4' => [ 
                  '0' => 'foo 3',
                  '1' => 3,
               ],
               '5' => [ 
                  '0' => 'foo 4',
                  '1' => 4,
               ],
               '6' => [ 
                  '0' => 'foo 5',
                  '1' => 5,
               ],
               '7' => [ 
                  '0' => 'foo 6',
                  '1' => 6,
               ],
            ],
            'multiple' => true,
            'exclusiveKeys' => '1,2',
         ],
      ],
      // Example from extension "styleguide", table "tx_styleguide_elements_select"