Issue Bug New Orphaned

#93433TCA placeholder __row|field doesn't translate related records

Sebastian Michaelsen 02/04/21, 11:40 updated 02/04/21, 11:42

Description

When using the __row|field syntax in placeholders, the related row is not overlaid with its translation.

example TCA for a tt_content field:

    'tx_myext_teaser_title' => [
        'label' => $lll . '.tx_myext_teaser_title',
        'config' => [
            'type' => 'input',
            'placeholder' => '__row|tx_myext_teaser_page|title',
        ],
    ],

For a translated content element, the placeholder should be filled with the value from the translated page record.

Reviews 0

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

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[BUGFIX] TCA placeholder __row|field doesn't translate related records Resolves: #93433 Releases: main