<div class="form-group">
<label for=""></label>
<div>
<select class="form-control" id="" name="">
<option value="">-- Please choose --</option>
</select>
</div>
</div>
<div class="form-group{% if required %} field-required{% endif %}{% if error %} has-error{% endif %}">
<label for="{{ id }}">{{ label }}{% if required %}<span class="required">*</span>{% endif %}</label>
{% if helpText %}<p class="help-block">{{ helpText }}</p>{% endif %}
<div>
<select class="form-control{% if additionalClasses %} {{ additionalClasses }}{% endif %}" id="{{ id }}" name="{{ name }}"{% if required %} required{% endif %}>
<option value="">-- Please choose --</option>
{% for option in options %}
{% set dataAttributes = '' %}
{% if option.dataAttributes %}
{% for attribute in option.dataAttributes %}
{% set dataAttributes = dataAttributes ~ ' ' ~ attribute.key ~ '="' ~ attribute.value ~ '"' %}
{% endfor %}
{% endif %}
<option value="{{ option.value }}"{% if option.id %} id="{{ option.id }}"{% endif %}{% if option.selected %} selected{% endif %}{% if option.disabled %} disabled{% endif %}{{ dataAttributes }}>{{ option.label }}{% if option.count %} ({{ option.count|number_format }}){% endif %}</option>
{% endfor %}
</select>
</div>
{% if error %}<p class="help-block">{{ error }}</p>{% endif %}
</div>
/* No context defined for this component. */
There are no notes for this item.