<div class="form-group dso-select">
<div class="dso-label-container">
<label for="input-select" class="control-label">
Kies uw beleg
</label>
</div>
<div class="dso-field-container">
<select id="input-select" class="form-control">
<optgroup label="Vlees">
<option value="worst">Worst</option>
<option value="salami">Salami</option>
<option value="geit">Geit</option>
</optgroup>
<optgroup label="Vis">
<option value="zalm">Zalm</option>
<option value="makreel">Makreel</option>
</optgroup>
</select>
</div>
</div>
<div class="form-group dso-select{{#if multiple }} dso-multiple{{/if}}{{#if state}} dso-{{ state }}{{/if}}{{#if required }} dso-required{{/if}}">
<div class="dso-label-container">
<label for="{{ id }}" class="control-label">
{{ label }}
</label>
{{#if infoText }}
{{> '@info-button' }}
{{/if}}
</div>
<div class="dso-field-container">
<select id="{{ id }}" class="form-control"
{{{ifattr 'disabled' disabled }}}
{{{ifattr 'multiple' multiple }}}
{{{ifattr 'required' required }}}>
{{#each options }}
<optgroup label="{{ optionType }}"{{{ifattr ' disabled' disabled }}}>
{{#each items }}
<option value="{{ value }}"{{{ifattr ' selected' selected }}}>{{ label }}</option>
{{/each}}
</optgroup>
{{/each}}
</select>
{{#if errorText }}
{{> '@error-block' }}
{{/if}}
{{#if helpText }}
{{> '@help-block' }}
{{/if}}
</div>
{{#if infoOpen }}
{{> '@info' }}
{{/if}}
</div>
id: input-select
label: Kies uw beleg
options:
- optionType: Vlees
items:
- value: worst
label: Worst
- value: salami
label: Salami
- value: geit
label: Geit
- optionType: Vis
items:
- value: zalm
label: Zalm
- value: makreel
label: Makreel
There are no notes for this item.