Is it possible to use the various inputs with foreach?
Both result in
Edit: Well it's late, of course it should be <xf:foreach> ..
HTML:
<xf:select>
<foreach loop="$list" value="$el">
<xf:option value="$el.el_id">
{{$el.title}}
</xf:option>
</foreach>
</xf:select>
<xf:radio name="el">
<foreach loop="$list" value="$el">
<xf:option value="$el.el_id">
{{$el.title}}
</xf:option>
</foreach>
</xf:radio>
Tag X contains an unexpected child element.
.Edit: Well it's late, of course it should be <xf:foreach> ..
Last edited: