Fluid 中的多个 optionLabelField

Pet*_*ete 0 html php forms fluid typo3-flow

我在流体模板中有一个选择字段,并且需要 optionLabelField 的两个属性。我该如何处理?这不起作用:

<f:form.select property="person" id="person" options="{persons}" optionLabelField="prename name" />
Run Code Online (Sandbox Code Playgroud)

谢谢,皮特

Mar*_*tin 5

您可以在模型中编写自己的 getter person。在optionLabelField.