Issue Bug Rejected

#76979FormEngine should allow to set default-Values in new CType-Elements

Nicolai Schirawski 07/07/16, 13:07 updated 09/02/18, 19:55

Description

Create a new content-Element as Extension myext with ctype=myctype
In typo3conf/ext/myext/Configuration/TCA/Overrides/tt_content.php you can choose the Form-Elements being shown with CE “myctype” by setting
$GLOBALS[‘TCA’][‘tt_content’][‘types’][‘myctype’][‘showitem’] to the

Changing the behaviour of single form elements is only partly possible:

$GLOBALS[‘TCA’][‘tt_content’][‘types’][‘myctype’] = [
‘columnsOverrides’ => [
‘imageheight’ => [
‘config’ => [
‘default’ => 250,
‘max’ => 6,
]
],

Here, “max” will have an effect when using the field in BE, “default” will have no effect

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.