Issue Bug Closed

#97529Flexform selectSingle doesn't render translations

!frappant webfactory 05/02/22, 13:40 updated 05/04/22, 14:24

Description

Our mediaType field is a selectSingle with two values.
While Updating TYPO3 from 9 to 11 we came across this issue.

We updated the field type from “select” to “selectSingle” but the translations are not being rendered if I switch the type to “check” just for fun the output of the options are correctly translated.

The given XLF File and Key are correct or else even the type “check” wouldn’t work.

<mediaType>
<TCEforms>
<label>Type</label>
<description>LLL:EXT:frp_template/Resources/Private/Language/locallang_db.xlf:tt_content.frptemplate_hero.pi_flexform.media.description</description>
<onChange>reload</onChange>
<config>
<type>selectSingle</type>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:frp_template/Resources/Private/Language/locallang_db.xlf:tt_content.frptemplate_hero.pi_flexform.slider</numIndex>
<numIndex index="1">slider</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:frp_template/Resources/Private/Language/locallang_db.xlf:tt_content.frptemplate_hero.pi_flexform.video</numIndex>
<numIndex index="1">video</numIndex>
</numIndex>
</items>
<default>slider</default>
</config>
</TCEforms>
</mediaType>

Reviews 0

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

Files 2

History 4

  1. Bastian Bringenberg commented and changed project id category TYPO3 Version 11 05/02/22, 14:39

    moved to right project.
    set TYPO3 Version.

  2. Georg Ringer commented and changed status New Needs Feedback 05/03/22, 22:03

    please use

    <type>select</type>
    <renderType>selectSingle</renderType>

    and it should work fine

  3. !frappant webfactory commented 05/04/22, 12:23

    Georg Ringer’s suggestion works
    Thank you


    <type>select</type>
    <renderType>selectSingle</renderType>

  4. Georg Ringer commented and changed status Needs Feedback Closed 05/04/22, 14:24

    closing issue as it is not a bug in core