Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demand.xml selectSingle configuration need to update in TYPO3 12 #322

Open
kp-keval opened this issue Dec 13, 2024 · 0 comments
Open

Demand.xml selectSingle configuration need to update in TYPO3 12 #322

kp-keval opened this issue Dec 13, 2024 · 0 comments

Comments

@kp-keval
Copy link

In TYPO3 12, when we use the renderType > selectSingle, then we need to provide the item's numIndex with the label and value instead of numIndex inside numIndex.

<config>
    <type>select</type>
    <renderType>selectSingle</renderType>
    <items type="array">
        <numIndex index="0">
            <label>Label A</label>
            <value>0</value>
        </numIndex>
        <numIndex index="1" type="array">
            <label>Label B</label>
            <value>1</value>
        </numIndex>
    </items>
    <size>1</size>
    <minitems>1</minitems>
    <maxitems>1</maxitems>
</config>

Please check at https://github.com/TYPO3GmbH/blog/blob/master/Configuration/FlexForms/Demand.xml

It is an improvement, So please check it and share your thoughts on the same.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant