Commit 4a030fad authored by Marco Huber's avatar Marco Huber
Browse files

Empty select is not added to trustedProperties and throws an error, so don't render it

parent ef969c41
......@@ -4,8 +4,15 @@
<f:translate key="model.electorate.field.electors">Electors</f:translate>
<div class="form-control-wrap" style="max-width: 480px">
<f:if condition="{electors}">
< class="form-control" property="electors" options="{electors}" size="3"
optionLabelField="fullName" optionValueField="uid" multiple="true"/>
<f:translate key="model.electorate.field.electors_empty">No electors available.</f:translate>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment