Issue Bug Closed

#89092Type "checkbox" within FlexForm sections

Martin Ellinger 09/05/19, 15:54 updated 12/23/19, 22:57

Description

After TYPO3 Update from 7.6 to 9.5 it is no longer possible to use a checkbox within FlexForm sections. If u add multiple inline-entries all checkboxes get the same id. If u click on a checkbox the first one is triggered all the time.

Example FlexForm config

<T3DataStructure>
    <meta type="array">
        <langDisable>1</langDisable>
    </meta>
    <sheets>
        <template>
            <ROOT>
                <TCEforms>
                    <sheetTitle>Template</sheetTitle>
                </TCEforms>
                <type>array</type>
                <el>
                    <settings.modules>
                        <section>1</section>
                        <title>Module</title>
                        <type>array</type>
                        <el type="array">
                            <module>
                                <title>Modul</title>
                                <type>array</type>
                                <el type="array">
                                    <modulname>
                                        <TCEforms type="array">
                                            <label>Modulname</label>
                                            <config type="array">
                                                <type>input</type>
                                                <size>50</size>
                                            </config>
                                        </TCEforms>
                                    </modulname>
                                    <availability>
                                        <TCEforms type="array">
                                            <label>Verfügbarkeit</label>
                                            <config type="array">
                                                <type>check</type>
                                                <default>0</default>
                                            </config>
                                        </TCEforms>
                                    </availability>
                                </el>
                            </module>
                        </el>
                    </settings.modules>
                </el>
            </ROOT>
        </template>
    </sheets>
</T3DataStructure>

Reviews 2