Actions
Bug #47484
closedselected option not respected in sysext frontend -> FormContentObject
Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-04-23
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Description
There seems to be a typo in sysext/frontend/Classes/ContentObject/FormContentObject.php Line 96
$singleKeyArray should be $singleKey_valueArray
You can test it with the following Typoscript
page.200 = FORM
page.200 {
type = index.php?id=466
accessibility = 1
noWrapAttr = 1
formName = suche
dontMd5FieldNames = 1
layout = <p class="suche">###LABEL### ###FIELD###</p>
dataArray {
10.label = Color
10.type = color=select
10.valueArray {
10.label = Blue
10.value = 1
20.label = Green
20.value = 2
20.selected = 1
}
}
}
without the bugfix the option green will not be rendered as "selected"
Actions