1 | 2 | simandl | <select class="form-control" |
2 | | | style="position:absolute; |
3 | | | width:{{component.size.x}}; |
4 | | | height:{{component.size.y}}; |
5 | | | top:{{component.position.y}}; |
6 | | | left:{{component.position.x}};" |
7 | | | id="{{component.fullName}}" |
8 | | | name="{{component.name}}" |
9 | | | {%if component.onChange|length > 0 %}onchange="invokeStrongEvent($(this),event);"{% endif %} |
10 | | | > |
11 | | | {% for key,option in component.options %} |
12 | | | <option {% if key == component.selected %}selected="selected"{% endif %} value="{{key}}">{{option}}</option> |
13 | | | {% endfor %} |
14 | | | </select> |