【发布时间】:2018-09-13 10:44:15
【问题描述】:
我想使用<f:form.select> 来显示地址类型列表。但我也想禁用一些选项。我该如何禁用它?效果应该是这样的:
我当前的代码是这样的(完全工作,但没有禁用选项):
<f:form.select class="form-control"
property="type"
options="{addressType}"
optionLabelField="title"
prependOptionValue="0"
prependOptionLabel="Please select"/>
我尝试阅读文档并检查谷歌,但这里什么都没有。我可以用<option value="any" disabled> 做到这一点,但这不是解决方案,因为我使用<f:form action(...)> 并且我使用这个对象
在这种情况下我该怎么办?
【问题讨论】:
标签: typo3 fluid typo3-7.6.x