{{#if status.deprecated}}
  <p class="notice notice--error">
    This component is now deprecated and will be removed/refactored in {{status.deprecated}}
  </p>
{{/if}}
<select id="{{id}}" name="{{id}}"{{#if enhance}} data-js="enhance-select"{{/if}}{{#each attribute}} {{@key}}="{{this}}"{{/each}}{{#if filterOptions}} data-select-filter="true"{{/if}} tabindex="{{@index}}" {{#if boxed}}class="enhanced-select--box"{{/if}}>
  {{#if option-group}}
    {{#each option-group}}
      <optgroup label="{{label}}">
        {{#each option}}
          <option value="{{value}}"{{#if display}} data-display="{{display}}"{{/if}}>{{label}}</option>
        {{/each}}
      </optgroup>
    {{/each}}
  {{else}}
    {{#each option}}
      <option value="{{value}}"{{#if display}} data-display="{{display}}"{{/if}}>{{label}}</option>
    {{/each}}
  {{/if}}
</select>