[TYPO3-core] FYI #16276: Bug: TCAtree should respect maxItems = 1

Georg Ringer spam at ringerge.org
Sun Dec 5 17:23:11 CET 2010


Hi,

are you sure this works?
With my example I can't select any node ...

Georg

my configuration:
--------------------------------
		'parentcategory' => array(
			'exclude' => 0,
			'l10n_mode' => 'exclude',
			'label' => $ll . 'tx_news2_domain_model_category.parentcategory',
			'config' => array(
				'type' => 'select',
				'foreign_table' => 'tx_news2_domain_model_category',
				'renderMode' => 'tree',
				'subType' => 'db',
				'treeConfig' => array(
					'parentField' => 'parentcategory',
					'appearance' => array(
						'expandAll' => TRUE,
						'showHeader' => FALSE,
					),
				),
				'size' => 10,
				'autoSizeMax' => 20,
				'minitems' => 0,
				'maxitems' => 1
			)
		),


More information about the TYPO3-team-core mailing list