494df691bc986f8b9bd99f3fc3d500f6d5587b39
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Resources / Private / Partials / Compatibility / Show / FlatElements / Select.html
1 {namespace form=TYPO3\CMS\Form\ViewHelpers}
2
3 <f:if condition="{model.showElement}">
4 <f:format.raw>{model.layout.elementOuterWrap.0}</f:format.raw>
5 <form:select
6 class="{model.additionalArguments.class}"
7 dir="{model.additionalArguments.dir}"
8 id="{model.additionalArguments.id}"
9 lang="{model.additionalArguments.lang}"
10 style="{model.additionalArguments.style}"
11 title="{model.additionalArguments.title}"
12 accesskey="{model.additionalArguments.accesskey}"
13 tabindex="{model.additionalArguments.tabindex}"
14 onclick="{model.additionalArguments.onclick}"
15
16 name="{model.additionalArguments.prefix}[{model.additionalArguments.name}]"
17 value="{model.additionalArguments.value}"
18
19 multiple="{model.additionalArguments.multiple}"
20 size="{model.additionalArguments.size}"
21
22 optionLabelField="label"
23 optionValueField="value"
24 options="{form:aggregateSelectOptions(model:model)}"
25 prependOptionLabel="{model.additionalArguments.prependOptionLabel}"
26 prependOptionValue="{model.additionalArguments.prependOptionValue}"
27 selectAllByDefault="{model.additionalArguments.selectAllByDefault}"
28 sortByOptionLabel="{model.additionalArguments.sortByOptionLabel}"
29
30 errorClass="{model.additionalArguments.errorClass}"
31 additionalAttributes="{model.htmlAttributes}"
32 />
33 <f:format.raw>{model.layout.elementOuterWrap.1}</f:format.raw>
34 </f:if>