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

Flexform: Default values are not immediately saved when creating a container #483

Open
stephangrass opened this issue Feb 28, 2024 · 0 comments

Comments

@stephangrass
Copy link

I have the following Flexform:


                    <specialLayout>
                        <TCEforms>
                            <label>Spezielle Layouts</label>
                            <config>
                                <type>select</type>
                                <renderType>selectSingle</renderType>
                                <items type="array">
                                    <numIndex index='0' type='array'>
                                        <numIndex index='0'>Standard</numIndex>
                                        <numIndex index='1'>default</numIndex>
                                    </numIndex>
                                    <numIndex index='1' type='array'>
                                        <numIndex index='0'>2 Spalter, rechts Contextspalte</numIndex>
                                        <numIndex index='1'>2col-typ2</numIndex>
                                    </numIndex>
                                    <numIndex index='2' type='array'>
                                        <numIndex index='0'>2 Spalter mit Headernavigation, rechts Contextspalte</numIndex>
                                        <numIndex index='1'>2col-typ1</numIndex>
                                    </numIndex>
                                </items>
                                <size>1</size>
                                <minitems>1</minitems>
                                <maxitems>1</maxitems>
                                <default>2col-typ2</default>
                            </config>
                        </TCEforms>
                    </specialLayout>

It is desired that the second entry be activated immediately upon creating the element. However, the set default value is only activated upon re-saving the container.

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