Actions
Bug #98993
closedFlexform select with multiple fixed and DB values fails
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2022-11-03
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
I have a flexform with a select and want to have two options (nothing and all) plus values from the database. If I select the second (fixed value) after saving the first value is selected again. Here is my code:
<settings.myfield>
<TCEforms>
<label>My label</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<items>
<numIndex index="0">
<numIndex index="0">---</numIndex>
<numIndex index="1"></numIndex>
</numIndex>
<numIndex index="1">
<numIndex index="0">Alle</numIndex>
<numIndex index="1">all</numIndex>
</numIndex>
</items>
<foreign_table>tablename</foreign_table>
<foreign_table_where>
...
</foreign_table_where>
</config>
</TCEforms>
</settings.myfield>
Actions