#99034In a Flexform with selectCheckBox and a default value when saving, the default values are always applied
Description
So, for example, you have 2 checkboxes with value ‘a’ and value ‘b’ and a default of ‘a’. Then you unset them all and save. After saving, ‘a’ is set again.
animated gif
flexform1.gif
Code snippet
<settings.showColumns>
<TCEforms>
<label>selectCheckBox with default=room</label>
<config>
<type>select</type>
<renderType>selectCheckBox</renderType>
<items>
<numIndex index="0">
<numIndex index="0">room</numIndex>
<numIndex index="1">room</numIndex>
</numIndex>
<numIndex index="1">
<numIndex index="0">available</numIndex>
<numIndex index="1">available</numIndex>
</numIndex>
</items>
<default>room</default>
</config>
</TCEforms>
</settings.showColumns>
Reproduce
Versions
This is reproducible with
- TYPO3 11.5.16-dev (latest commit 74b597cb507fda6f8c4214a9d203541df614597f, September 12, 2022)
- TYPO3 11.5.18 official release
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.