FriendsOfTYPO3 / tt_address

Add address / contact datasets to your content management system.
GNU General Public License v2.0
38 stars 76 forks source link

Email Field in Reactions not available #505

Closed camCut closed 11 months ago

camCut commented 11 months ago

Bug Report

Current Behavior When creating a Reaction with tt_address as selected table, the field "email" is not available in the fields-form at the bottom of the reactions form

Expected behavior/output The email field should be available.

Environment

Possible Solution "TCA/Configuration/TCA/Overrides/tt_address.php" -> rm row 26-28

        $GLOBALS['TCA']['tt_address']['columns']['email']['config'] = [
            'type' => 'email',
        ];

"TCA/tt_address.php" rm "email" from row 444 in the eval values

            'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.email',
            'config' => [
                'type' => 'input',
                'size' => 20,
                'eval' => 'trim',
                'max' => 255,
                'softref' => 'email',
                'behaviour' => [
                    'allowLanguageSynchronization' => true,
                ],
            ]
        ],