Skip to content

Instantly share code, notes, and snippets.

@paulrohrbeck
Created May 26, 2014 15:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save paulrohrbeck/1e4806fe38e89074ce23 to your computer and use it in GitHub Desktop.
Save paulrohrbeck/1e4806fe38e89074ce23 to your computer and use it in GitHub Desktop.
TYPO3: TCA make type „select“ optional with empty „option“
'feld' => array(
'exclude' => 0,
'label' => 'Feld Name',
'config' => array(
'type' => 'select',
'items' => Array (
Array("",0),
),
'foreign_table' => 'tx_deinetabelle',
'size' => 1,
'minitems' => 0,
'maxitems' => 1,
),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment